Skip to content

Commit

Permalink
Fix call to setcontext in nativewebtap tests
Browse files Browse the repository at this point in the history
  • Loading branch information
imurchie committed Jan 16, 2019
1 parent 447b474 commit 48375f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/functional/web/safari-nativewebtap-e2e-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ describe('Safari - coordinate conversion -', function () {

// on Travis this sometimes happens. Try to reload the page
const ctx = await driver.currentContext();
await driver.setContext('NATIVE_APP');
await driver.context('NATIVE_APP');
await driver.elementByAccessibilityId('ReloadButton').click();
await driver.setContext(ctx);
await driver.context(ctx);
throw new Error('Page could not load. Retrying after reload');
});
});
Expand Down

0 comments on commit 48375f4

Please sign in to comment.