aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-05-15 00:31:28 +0800
committerWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-05-15 00:31:28 +0800
commit6926e4e9d26518e644ec9f8bd3316af087a52c9f (patch)
tree3059f3ff308ad38c8fe70c61e9b5c6cc2a388a50
parentdc6f6addb9551c599dfef6a75bf59e8531a26d82 (diff)
downloadtangerine-wallet-browser-6926e4e9d26518e644ec9f8bd3316af087a52c9f.tar
tangerine-wallet-browser-6926e4e9d26518e644ec9f8bd3316af087a52c9f.tar.gz
tangerine-wallet-browser-6926e4e9d26518e644ec9f8bd3316af087a52c9f.tar.bz2
tangerine-wallet-browser-6926e4e9d26518e644ec9f8bd3316af087a52c9f.tar.lz
tangerine-wallet-browser-6926e4e9d26518e644ec9f8bd3316af087a52c9f.tar.xz
tangerine-wallet-browser-6926e4e9d26518e644ec9f8bd3316af087a52c9f.tar.zst
tangerine-wallet-browser-6926e4e9d26518e644ec9f8bd3316af087a52c9f.zip
e2e: Use the more reliable enter key for logging in
-rw-r--r--test/e2e/firefox/metamask.spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/firefox/metamask.spec.js b/test/e2e/firefox/metamask.spec.js
index 1bb76a6b5..c75b1a9b5 100644
--- a/test/e2e/firefox/metamask.spec.js
+++ b/test/e2e/firefox/metamask.spec.js
@@ -126,7 +126,7 @@ describe('', function () {
it('accepts account password after lock', async () => {
await delay(500)
await driver.findElement(By.id('password-box')).sendKeys('123456789')
- await driver.findElement(By.css('button')).click()
+ await driver.findElement(By.id('password-box')).sendKeys(webdriver.Key.ENTER)
await delay(500)
})