Skip to content

Commit d3bcdc2

Browse files
committed
Revised timeout on test_kernel_menu, WIP workflow edits.
1 parent d677d66 commit d3bcdc2

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/playwright.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ jobs:
3636
run: |
3737
python tools/install_pydeps.py
3838
39-
- name: Run Suite X Times
39+
- name: Run Playwright Tests
4040
run: |
41-
python tools/runsuite_repeat.py
41+
pytest -sv nbclassic/tests/end_to_end

nbclassic/tests/end_to_end/test_kernel_menu.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,8 @@ def test_menu_items(notebook_frontend):
4949
kernel_menu.click()
5050

5151
notebook_frontend.wait_for_selector(menu_item, EDITOR_PAGE).click()
52-
notebook_frontend.wait_for_condition(lambda: notebook_frontend.is_kernel_running())
52+
notebook_frontend.wait_for_condition(
53+
lambda: notebook_frontend.is_kernel_running(),
54+
timeout=120,
55+
period=5
56+
)

0 commit comments

Comments
 (0)