1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 12:29:06 +01:00

e2e: Use the more reliable enter key for logging in

This commit is contained in:
Whymarrh Whitby 2018-05-14 14:01:28 -02:30
parent dc6f6addb9
commit 6926e4e9d2

View File

@ -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)
})