aboutsummaryrefslogtreecommitdiffstats
path: root/test/screens
diff options
context:
space:
mode:
authorAlexander Tseung <alextsg@gmail.com>2018-05-13 11:53:40 +0800
committerAlexander Tseung <alextsg@gmail.com>2018-05-14 12:46:12 +0800
commit0bcfbc15446b01b3b87233715cd3ead42d2730e4 (patch)
tree8b39abffed694538464ff00c2471fdc0df25ecd8 /test/screens
parent6bd1b21d3b8f74c44214f814c3fe1c8770ab9e2d (diff)
downloadtangerine-wallet-browser-0bcfbc15446b01b3b87233715cd3ead42d2730e4.tar
tangerine-wallet-browser-0bcfbc15446b01b3b87233715cd3ead42d2730e4.tar.gz
tangerine-wallet-browser-0bcfbc15446b01b3b87233715cd3ead42d2730e4.tar.bz2
tangerine-wallet-browser-0bcfbc15446b01b3b87233715cd3ead42d2730e4.tar.lz
tangerine-wallet-browser-0bcfbc15446b01b3b87233715cd3ead42d2730e4.tar.xz
tangerine-wallet-browser-0bcfbc15446b01b3b87233715cd3ead42d2730e4.tar.zst
tangerine-wallet-browser-0bcfbc15446b01b3b87233715cd3ead42d2730e4.zip
Add error message when passwords don't match in first time flow. Change input field styling in first time flow
Diffstat (limited to 'test/screens')
-rw-r--r--test/screens/new-ui.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/screens/new-ui.js b/test/screens/new-ui.js
index e176da529..6a8822eb3 100644
--- a/test/screens/new-ui.js
+++ b/test/screens/new-ui.js
@@ -74,8 +74,8 @@ async function captureAllScreens() {
await driver.findElement(By.css('button')).click()
await captureLanguageScreenShots('create password')
- const passwordBox = await driver.findElement(By.css('input[type=password]:nth-of-type(1)'))
- const passwordBoxConfirm = await driver.findElement(By.css('input[type=password]:nth-of-type(2)'))
+ const passwordBox = await driver.findElement(By.css('input#create-password'))
+ const passwordBoxConfirm = await driver.findElement(By.css('input#confirm-password'))
passwordBox.sendKeys('123456789')
passwordBoxConfirm.sendKeys('123456789')
await delay(500)