diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-11-30 04:41:55 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-11-30 04:41:55 +0800 |
commit | f725bc6ab72c1e0aac600cc830be703961ae8ec1 (patch) | |
tree | 934f56ce1aa58719aac5705420b66d37d195e56c | |
parent | 42108ba3bc536d619e3658fa945520e8fc44071e (diff) | |
download | tangerine-wallet-browser-f725bc6ab72c1e0aac600cc830be703961ae8ec1.tar tangerine-wallet-browser-f725bc6ab72c1e0aac600cc830be703961ae8ec1.tar.gz tangerine-wallet-browser-f725bc6ab72c1e0aac600cc830be703961ae8ec1.tar.bz2 tangerine-wallet-browser-f725bc6ab72c1e0aac600cc830be703961ae8ec1.tar.lz tangerine-wallet-browser-f725bc6ab72c1e0aac600cc830be703961ae8ec1.tar.xz tangerine-wallet-browser-f725bc6ab72c1e0aac600cc830be703961ae8ec1.tar.zst tangerine-wallet-browser-f725bc6ab72c1e0aac600cc830be703961ae8ec1.zip |
Fix test reference
-rw-r--r-- | test/integration/lib/mascara-first-time.js | 6 |
1 files 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') { |