Skip to content

Commit 08d1010

Browse files
DavertMikclaude
andcommitted
feat: remove restart=browser strategy from CodeceptJS
- Remove browser restart option from Playwright helper due to hanging issues - Update PlaywrightRestartOpts.js to remove browser option and function - Remove restartBrowser method from Playwright helper - Update lib/listener/helpers.js to remove browser restart detection - Remove single-test-timeout.yml workflow - Update GitHub workflows to use context restart instead of browser restart - Update documentation to remove browser restart references - Remove debug test files The restart=browser strategy was causing tests to hang indefinitely due to browser context close promises never settling. This removal ensures more reliable test execution. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 29bbfc1 commit 08d1010

File tree

8 files changed

+690
-887
lines changed

8 files changed

+690
-887
lines changed

.github/workflows/playwright.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,6 @@ jobs:
5858
- name: run chromium tests
5959
run: 'BROWSER=chromium ./bin/codecept.js run -c test/acceptance/codecept.Playwright.js --grep @Playwright --verbose'
6060
timeout-minutes: 18
61-
- name: run chromium with restart==browser tests
62-
run: 'BROWSER_RESTART=browser ./bin/codecept.js run -c test/acceptance/codecept.Playwright.js --grep @Playwright --verbose'
63-
timeout-minutes: 18
6461
- name: run chromium with restart==session tests
6562
run: 'BROWSER_RESTART=session ./bin/codecept.js run -c test/acceptance/codecept.Playwright.js --grep @Playwright --verbose'
6663
timeout-minutes: 18

.github/workflows/single-test-timeout.yml

Lines changed: 0 additions & 88 deletions
This file was deleted.

0 commit comments

Comments
 (0)