File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 4848 run : ' ./bin/codecept.js run -c test/acceptance/codecept.Playwright.js --grep @Playwright --debug'
4949 - name : run chromium with restart==browser tests
5050 run : ' BROWSER_RESTART=browser ./bin/codecept.js run -c test/acceptance/codecept.Playwright.js --grep @Playwright --debug'
51- - name : run chromium with restart==session tests
51+ - name : run chromium with restart==session tests on 2 workers split by pool
52+ run : ' BROWSER_RESTART=session ./bin/codecept.js run-workers 2 -c test/acceptance/codecept.Playwright.js --grep @Playwright --debug --by=pool'
53+ - name : run chromium with restart==session tests and
5254 run : ' BROWSER_RESTART=session ./bin/codecept.js run -c test/acceptance/codecept.Playwright.js --grep @Playwright --debug'
5355 - name : run firefox tests
5456 run : ' BROWSER=firefox node ./bin/codecept.js run -c test/acceptance/codecept.Playwright.js --grep @Playwright --debug'
Original file line number Diff line number Diff line change @@ -1031,7 +1031,10 @@ class Playwright extends Helper {
10311031 this . frame = null
10321032 popupStore . clear ( )
10331033 if ( this . options . recordHar ) await this . browserContext . close ( )
1034+ this . browserContext = null
10341035 await this . browser . close ( )
1036+ this . browser = null
1037+ this . isRunning = false
10351038 }
10361039
10371040 async _evaluateHandeInContext ( ...args ) {
You can’t perform that action at this time.
0 commit comments