Skip to content

Commit

Permalink
Avoid stale element error in E2E
Browse files Browse the repository at this point in the history
  • Loading branch information
darkwing committed Oct 6, 2023
1 parent fa0f521 commit 3da4c13
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/e2e/tests/import-tokens.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ describe('Import flow', function () {
await unlockWallet(driver);

// Token list is only on mainnet
await driver.waitForSelector('[data-testid="network-display"]');
await driver.clickElement('[data-testid="network-display"]');
await driver.clickElement({ text: 'Ethereum Mainnet', tag: 'button' });

Expand Down

0 comments on commit 3da4c13

Please sign in to comment.