e2e: Use the more reliable enter key for logging in

feature/default_network_editable
Whymarrh Whitby 7 years ago
parent dc6f6addb9
commit 6926e4e9d2
  1. 2
      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)
})

Loading…
Cancel
Save