diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-11-30 04:39:48 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-11-30 04:39:48 +0800 |
commit | 42108ba3bc536d619e3658fa945520e8fc44071e (patch) | |
tree | 454cf24b72dcb1546c644a24ba6b40918c334a97 /test | |
parent | 9276fea6bc3a2d3678afdd60fa14e661b64a30a0 (diff) | |
download | tangerine-wallet-browser-42108ba3bc536d619e3658fa945520e8fc44071e.tar tangerine-wallet-browser-42108ba3bc536d619e3658fa945520e8fc44071e.tar.gz tangerine-wallet-browser-42108ba3bc536d619e3658fa945520e8fc44071e.tar.bz2 tangerine-wallet-browser-42108ba3bc536d619e3658fa945520e8fc44071e.tar.lz tangerine-wallet-browser-42108ba3bc536d619e3658fa945520e8fc44071e.tar.xz tangerine-wallet-browser-42108ba3bc536d619e3658fa945520e8fc44071e.tar.zst tangerine-wallet-browser-42108ba3bc536d619e3658fa945520e8fc44071e.zip |
Make notice skipping async
Diffstat (limited to 'test')
-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 6772dd701..f5912d9cd 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') - skipNotices() + await skipNotices() await timeout() @@ -41,7 +41,7 @@ async function runFirstTimeUsageTest (assert, done) { await timeout(1000) - skipNotices() + await skipNotices() // secret backup phrase const seedTitle = app.find('.backup-phrase__title')[0] @@ -135,7 +135,7 @@ function timeout (time) { }) } -function skipNotices () { +async function skipNotices () { while (true) { const button = app.find('button') if (button && button.html() === 'Accept') { |