mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Increase timeout for TOU scroll
This commit is contained in:
parent
9bba97a676
commit
1d353c002d
@ -89,7 +89,7 @@ describe('Metamask popup page', function () {
|
||||
|
||||
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'))
|
||||
await driver.wait(until.elementIsEnabled(button), 300)
|
||||
await driver.wait(until.elementIsEnabled(button), 500)
|
||||
const buttonEnabled = await button.isEnabled()
|
||||
assert.equal(buttonEnabled, true, 'enabled continue button')
|
||||
await button.click()
|
||||
|
Loading…
Reference in New Issue
Block a user