aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-11-29 09:25:09 +0800
committerDan Finlay <dan@danfinlay.com>2017-11-29 09:25:09 +0800
commit45c5a26405e20a64fab16fa212fd4e5b21e49e68 (patch)
tree875d793787934650f1f79335859d12cd81cb12d9 /test
parentab35a76a240dc0139761678028aa8c187345ab49 (diff)
downloadtangerine-wallet-browser-45c5a26405e20a64fab16fa212fd4e5b21e49e68.tar
tangerine-wallet-browser-45c5a26405e20a64fab16fa212fd4e5b21e49e68.tar.gz
tangerine-wallet-browser-45c5a26405e20a64fab16fa212fd4e5b21e49e68.tar.bz2
tangerine-wallet-browser-45c5a26405e20a64fab16fa212fd4e5b21e49e68.tar.lz
tangerine-wallet-browser-45c5a26405e20a64fab16fa212fd4e5b21e49e68.tar.xz
tangerine-wallet-browser-45c5a26405e20a64fab16fa212fd4e5b21e49e68.tar.zst
tangerine-wallet-browser-45c5a26405e20a64fab16fa212fd4e5b21e49e68.zip
Fix test to skip screens before privacy notice
Diffstat (limited to 'test')
-rw-r--r--test/integration/lib/mascara-first-time.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/integration/lib/mascara-first-time.js b/test/integration/lib/mascara-first-time.js
index 3398a5511..9141b68d2 100644
--- a/test/integration/lib/mascara-first-time.js
+++ b/test/integration/lib/mascara-first-time.js
@@ -57,8 +57,14 @@ async function runFirstTimeUsageTest (assert, done) {
await timeout(1000)
+ // Skip things before Privacy:
+ let detail = app.find('.tou__title')[0]
+ while (detail !== 'Privacy Notice') {
+ app.find('button').click()
+ await timeout(1000)
+ }
+
// Privacy Screen
- const detail = app.find('.tou__title')[0]
assert.equal(detail.textContent, 'Privacy Notice', 'privacy notice screen')
app.find('button').click()