From 3da4c13102dadf7fdc6dbb1d9d18faa6a522255b Mon Sep 17 00:00:00 2001 From: David Walsh Date: Fri, 6 Oct 2023 11:31:57 -0500 Subject: [PATCH] Avoid stale element error in E2E --- test/e2e/tests/import-tokens.spec.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/e2e/tests/import-tokens.spec.js b/test/e2e/tests/import-tokens.spec.js index 01adbb2ac3a2..d11ef854e77b 100644 --- a/test/e2e/tests/import-tokens.spec.js +++ b/test/e2e/tests/import-tokens.spec.js @@ -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' });