aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDan J Miller <danjm.com@gmail.com>2019-08-06 11:24:19 +0800
committerGitHub <noreply@github.com>2019-08-06 11:24:19 +0800
commit010e3927da0f98857c1703b9c568e91abce72db9 (patch)
treee56c97c5569e41332b8ba7bc62c6c6cdc3922503 /test
parent1779dc8be4f30cdf69ab47c5a26a6765f8b50ad3 (diff)
downloadtangerine-wallet-browser-010e3927da0f98857c1703b9c568e91abce72db9.tar.gz
tangerine-wallet-browser-010e3927da0f98857c1703b9c568e91abce72db9.tar.zst
tangerine-wallet-browser-010e3927da0f98857c1703b9c568e91abce72db9.zip
Show seed phrase challenge in browser (#6961)
* Open backup challenge screen, prompted from notification, in browser window * Remove no longer used showingSeedPhraseBackupAfterOnboarding related code * Make incremental-security.spec.js click through the seed phrase success screen
Diffstat (limited to 'test')
-rw-r--r--test/e2e/incremental-security.spec.js6
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)