diff options
author | Dan <danjm.com@gmail.com> | 2018-06-23 01:11:18 +0800 |
---|---|---|
committer | Dan <danjm.com@gmail.com> | 2018-07-05 07:51:12 +0800 |
commit | f262f0ea64e1e803d8dcd9a31f92cffe81d27b3d (patch) | |
tree | ba4c7a04136e6e3c1df9402437b17e36fd734671 /test | |
parent | 8def5281b43c2ce2abc272bc3fbef6dc83a41327 (diff) | |
download | tangerine-wallet-browser-f262f0ea64e1e803d8dcd9a31f92cffe81d27b3d.tar.gz tangerine-wallet-browser-f262f0ea64e1e803d8dcd9a31f92cffe81d27b3d.tar.zst tangerine-wallet-browser-f262f0ea64e1e803d8dcd9a31f92cffe81d27b3d.zip |
Update import from seed screen on new ui.
Diffstat (limited to 'test')
-rw-r--r-- | test/e2e/beta/metamask-beta-ui.spec.js | 9 |
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) }) |