Fix test reference

feature/default_network_editable
Dan Finlay 7 years ago
parent 42108ba3bc
commit f725bc6ab7
  1. 6
      test/integration/lib/mascara-first-time.js

@ -6,7 +6,7 @@ async function runFirstTimeUsageTest (assert, done) {
const app = $('#app-content') const app = $('#app-content')
await skipNotices() await skipNotices(app)
await timeout() await timeout()
@ -41,7 +41,7 @@ async function runFirstTimeUsageTest (assert, done) {
await timeout(1000) await timeout(1000)
await skipNotices() await skipNotices(app)
// secret backup phrase // secret backup phrase
const seedTitle = app.find('.backup-phrase__title')[0] const seedTitle = app.find('.backup-phrase__title')[0]
@ -135,7 +135,7 @@ function timeout (time) {
}) })
} }
async function skipNotices () { async function skipNotices (app) {
while (true) { while (true) {
const button = app.find('button') const button = app.find('button')
if (button && button.html() === 'Accept') { if (button && button.html() === 'Accept') {

Loading…
Cancel
Save