mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 10:30:04 +01:00
Fix test to skip screens before privacy notice
This commit is contained in:
parent
ab35a76a24
commit
45c5a26405
@ -57,8 +57,14 @@ async function runFirstTimeUsageTest (assert, done) {
|
||||
|
||||
await timeout(1000)
|
||||
|
||||
// Skip things before Privacy:
|
||||
let detail = app.find('.tou__title')[0]
|
||||
while (detail !== 'Privacy Notice') {
|
||||
app.find('button').click()
|
||||
await timeout(1000)
|
||||
}
|
||||
|
||||
// Privacy Screen
|
||||
const detail = app.find('.tou__title')[0]
|
||||
assert.equal(detail.textContent, 'Privacy Notice', 'privacy notice screen')
|
||||
app.find('button').click()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user