diff options
Diffstat (limited to 'test/e2e/incremental-security.spec.js')
-rw-r--r-- | test/e2e/incremental-security.spec.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/e2e/incremental-security.spec.js b/test/e2e/incremental-security.spec.js index 5b0990581..ecd6f5999 100644 --- a/test/e2e/incremental-security.spec.js +++ b/test/e2e/incremental-security.spec.js @@ -280,6 +280,12 @@ describe('MetaMask', function () { await delay(regularDelayMs) }) + it('can click through the success screen', async () => { + const confirm = await findElement(driver, By.xpath(`//button[contains(text(), 'All Done')]`)) + await confirm.click() + await delay(regularDelayMs) + }) + it('should have the correct amount of eth', async () => { const balances = await findElements(driver, By.css('.currency-display-component__text')) await driver.wait(until.elementTextMatches(balances[0], /1/), 15000) |