From f725bc6ab72c1e0aac600cc830be703961ae8ec1 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Wed, 29 Nov 2017 12:41:55 -0800 Subject: [PATCH] Fix test reference --- test/integration/lib/mascara-first-time.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/integration/lib/mascara-first-time.js b/test/integration/lib/mascara-first-time.js index f5912d9cd..c43f99b29 100644 --- a/test/integration/lib/mascara-first-time.js +++ b/test/integration/lib/mascara-first-time.js @@ -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') {