Skip to content

Commit 6808bb3

Browse files
committed
Add pause after tap to allow webview screen to load and prevent stale elements
1 parent 93804c6 commit 6808bb3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/helper/Appium_test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ describe('Appium', function () {
183183
it('should switch to native and web contexts @quick', async () => {
184184
await app.resetApp()
185185
await app.tap('~buttonStartWebviewCD')
186+
await app.browser.pause(1000)
186187
await app.see('WebView location')
187188
await app.switchToWeb()
188189
let val = await app.grabContext()

0 commit comments

Comments
 (0)