mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 10:30:04 +01:00
Fix test reference
This commit is contained in:
parent
42108ba3bc
commit
f725bc6ab7
@ -6,7 +6,7 @@ async function runFirstTimeUsageTest (assert, done) {
|
||||
|
||||
const app = $('#app-content')
|
||||
|
||||
await skipNotices()
|
||||
await skipNotices(app)
|
||||
|
||||
await timeout()
|
||||
|
||||
@ -41,7 +41,7 @@ async function runFirstTimeUsageTest (assert, done) {
|
||||
|
||||
await timeout(1000)
|
||||
|
||||
await skipNotices()
|
||||
await skipNotices(app)
|
||||
|
||||
// secret backup phrase
|
||||
const seedTitle = app.find('.backup-phrase__title')[0]
|
||||
@ -135,7 +135,7 @@ function timeout (time) {
|
||||
})
|
||||
}
|
||||
|
||||
async function skipNotices () {
|
||||
async function skipNotices (app) {
|
||||
while (true) {
|
||||
const button = app.find('button')
|
||||
if (button && button.html() === 'Accept') {
|
||||
|
Loading…
Reference in New Issue
Block a user