mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
e2e: Wait a bit before clicking through privacy screen
The network connection can take a bit so we need to wait for the spinner to go away.
This commit is contained in:
parent
4e91fc8639
commit
dc6f6addb9
@ -59,6 +59,7 @@ describe('', function () {
|
||||
})
|
||||
|
||||
it('shows privacy notice', async () => {
|
||||
await delay(300)
|
||||
const privacy = await driver.findElement(By.css('.terms-header')).getText()
|
||||
assert.equal(privacy, 'PRIVACY NOTICE', 'shows privacy notice')
|
||||
await driver.findElement(By.css('button')).click()
|
||||
|
Loading…
Reference in New Issue
Block a user