Skip to content

Commit 936a4c3

Browse files
committed
Increase pause after switchToNative to prevent stale element errors
1 parent 8da30a4 commit 936a4c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/helper/Appium_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ describe('Appium', function () {
190190
await app.see('Prefered Car')
191191
assert.ok(app.isWeb)
192192
await app.switchToNative()
193-
await app.browser.pause(1000)
193+
await app.browser.pause(2000)
194194
val = await app.grabContext()
195195
assert.equal(val, 'NATIVE_APP')
196196
return assert.ok(!app.isWeb)

0 commit comments

Comments
 (0)