Remove waiting for button to be enabled TOU

feature/default_network_editable
Thomas 7 years ago
parent 025d8e7983
commit 228e06110d
  1. 1
      test/e2e/chrome/metamask.spec.js

@ -89,7 +89,6 @@ describe('Metamask popup page', function () {
it('allows the button to be clicked when scrolled to the bottom of TOU', async () => { it('allows the button to be clicked when scrolled to the bottom of TOU', async () => {
const button = await driver.findElement(By.css('#app-content > div > div.app-primary.from-right > div > div.flex-column.flex-center.flex-grow > button')) const button = await driver.findElement(By.css('#app-content > div > div.app-primary.from-right > div > div.flex-column.flex-center.flex-grow > button'))
await driver.wait(until.elementIsEnabled(button), 500)
const buttonEnabled = await button.isEnabled() const buttonEnabled = await button.isEnabled()
assert.equal(buttonEnabled, true, 'enabled continue button') assert.equal(buttonEnabled, true, 'enabled continue button')
await button.click() await button.click()

Loading…
Cancel
Save