aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDan J Miller <danjm.com@gmail.com>2018-07-06 02:56:21 +0800
committerGitHub <noreply@github.com>2018-07-06 02:56:21 +0800
commit6595f84d0730d19b296faf93ddddcec52bbe0165 (patch)
treed685d324feb285de380de7b2e047b198a51aa1f5 /test
parentd3920007fae970a249c63f990bb85a14cae0ba88 (diff)
parentf006cbf2ceb8f9519b58656e893e55762c877b8a (diff)
downloadtangerine-wallet-browser-6595f84d0730d19b296faf93ddddcec52bbe0165.tar
tangerine-wallet-browser-6595f84d0730d19b296faf93ddddcec52bbe0165.tar.gz
tangerine-wallet-browser-6595f84d0730d19b296faf93ddddcec52bbe0165.tar.bz2
tangerine-wallet-browser-6595f84d0730d19b296faf93ddddcec52bbe0165.tar.lz
tangerine-wallet-browser-6595f84d0730d19b296faf93ddddcec52bbe0165.tar.xz
tangerine-wallet-browser-6595f84d0730d19b296faf93ddddcec52bbe0165.tar.zst
tangerine-wallet-browser-6595f84d0730d19b296faf93ddddcec52bbe0165.zip
Merge pull request #4648 from MetaMask/update-import-from-seed-screen
Update import from seed screen on new ui.
Diffstat (limited to 'test')
-rw-r--r--test/e2e/beta/metamask-beta-ui.spec.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/e2e/beta/metamask-beta-ui.spec.js b/test/e2e/beta/metamask-beta-ui.spec.js
index 5f270b52b..b07b1ecd7 100644
--- a/test/e2e/beta/metamask-beta-ui.spec.js
+++ b/test/e2e/beta/metamask-beta-ui.spec.js
@@ -355,9 +355,12 @@ describe('MetaMask', function () {
await seedTextArea.sendKeys(testSeedPhrase)
await delay(regularDelayMs)
- await driver.findElement(By.id('password-box')).sendKeys('correct horse battery staple')
- await driver.findElement(By.id('password-box-confirm')).sendKeys('correct horse battery staple')
- await driver.findElement(By.css('button:nth-child(2)')).click()
+ const passwordInputs = await driver.findElements(By.css('input'))
+ await delay(regularDelayMs)
+
+ passwordInputs[0].sendKeys('correct horse battery staple')
+ passwordInputs[1].sendKeys('correct horse battery staple')
+ await driver.findElement(By.css('.first-time-flow__button')).click()
await delay(regularDelayMs)
})