Skip to content

Commit 0cf4e82

Browse files
Copilotrenemadsen
andcommitted
Force sequential execution in step2e to avoid race conditions with shared settings
Co-authored-by: renemadsen <[email protected]>
1 parent 2457c1a commit 0cf4e82

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

eform-client/wdio-headless-step2e.conf.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@ export const config: WebdriverIO.Config = {
7373
// maxInstances can get overwritten per capability. So if you have an in-house Selenium
7474
// grid with only 5 firefox instances available you can make sure that not more than
7575
// 5 instances get started at a time.
76-
maxInstances: 5,
76+
// NOTE: Set to 1 for step2e because these tests modify shared application settings
77+
// and must run sequentially to avoid race conditions
78+
maxInstances: 1,
7779
//
7880
browserName: 'chrome',
7981
'goog:chromeOptions': {

0 commit comments

Comments
 (0)