Skip to content

Commit 08b74cc

Browse files
committed
Refactor WEKO notebooks
1 parent 6b32f68 commit 08b74cc

7 files changed

Lines changed: 7511 additions & 4436 deletions

scripts/playwright.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ async def init_pw_context(close_on_fail=True, last_path=None, browser_type='chro
135135
console_messages = []
136136
return (current_session_id, temp_dir)
137137

138-
async def finish_pw_context(screenshot=False, last_path=None, timeout=180):
138+
async def finish_pw_context(screenshot=False, last_path=None, timeout=30):
139139
global current_browser
140140
try:
141141
await asyncio.wait_for(
@@ -146,7 +146,7 @@ async def finish_pw_context(screenshot=False, last_path=None, timeout=180):
146146
print(f'finish_pw_context timed out after {timeout} seconds', file=sys.stderr)
147147
if current_browser is not None:
148148
try:
149-
await asyncio.wait_for(current_browser.close(), timeout=30)
149+
await asyncio.wait_for(current_browser.close(), timeout=10)
150150
except asyncio.TimeoutError:
151151
print('browser.close() timed out', file=sys.stderr)
152152
current_browser = None

テスト手順-WEKOアドオン-OAuthクライアント追加.ipynb

Lines changed: 5045 additions & 0 deletions
Large diffs are not rendered by default.

テスト手順-WEKOアドオン-アドオン追加.ipynb

Lines changed: 838 additions & 4168 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)