diff options
Diffstat (limited to 'test/integration/lib/mascara-first-time.js')
-rw-r--r-- | test/integration/lib/mascara-first-time.js | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/test/integration/lib/mascara-first-time.js b/test/integration/lib/mascara-first-time.js index 9141b68d2..42ef83f4f 100644 --- a/test/integration/lib/mascara-first-time.js +++ b/test/integration/lib/mascara-first-time.js @@ -57,29 +57,14 @@ async function runFirstTimeUsageTest (assert, done) { await timeout(1000) - // Skip things before Privacy: + // Skip notices: let detail = app.find('.tou__title')[0] - while (detail !== 'Privacy Notice') { + let button = app.find('button') + if (button.html() === 'Accept') { app.find('button').click() await timeout(1000) } - // Privacy Screen - assert.equal(detail.textContent, 'Privacy Notice', 'privacy notice screen') - app.find('button').click() - - await timeout(1000) - - - // terms of service screen - const tou = app.find('.tou__title')[0] - assert.equal(tou.textContent, 'Terms of Use', 'terms of use screen') - app.find('.tou__body').scrollTop(100000) - await timeout(1000) - - app.find('.first-time-flow__button').click() - await timeout(1000) - // secret backup phrase const seedTitle = app.find('.backup-phrase__title')[0] assert.equal(seedTitle.textContent, 'Secret Backup Phrase', 'seed phrase screen') |