File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,10 @@ export const config: WebdriverIO.Config = {
1313 'appium:automationName' : 'UiAutomator2' ,
1414 ...( process . env . BUNDLE_ID ? { 'appium:appPackage' : process . env . BUNDLE_ID } : { } ) ,
1515 'appium:autoGrantPermissions' : true ,
16- 'appium:noReset' : true ,
16+
17+ // Browserstack doesn't allow acceptAlerts and noReset at the same time
18+ 'appium:noReset' : isLocal ,
19+
1720 ...( isLocal ? { } : { 'bstack:options' : bstackOptions } ) ,
1821
1922 // Disable ID locator autocompletion to avoid Flutter's Semantics(container:true) wrapping inputs in a View.
Original file line number Diff line number Diff line change @@ -13,7 +13,10 @@ export const config: WebdriverIO.Config = {
1313 'appium:automationName' : 'XCUITest' ,
1414 ...( process . env . BUNDLE_ID ? { 'appium:bundleId' : process . env . BUNDLE_ID } : { } ) ,
1515 'appium:autoAcceptAlerts' : true ,
16- 'appium:noReset' : true ,
16+
17+ // Browserstack doesn't allow acceptAlerts and noReset at the same time
18+ 'appium:noReset' : isLocal ,
19+
1720 ...( isLocal ? { } : { 'bstack:options' : bstackOptions } ) ,
1821
1922 // Hide keyboard during session
You can’t perform that action at this time.
0 commit comments