aboutsummaryrefslogtreecommitdiffstats
path: root/test/integration/lib/first-time.js
diff options
context:
space:
mode:
authortmashuang <tmashuang@gmail.com>2017-10-24 23:36:02 +0800
committertmashuang <tmashuang@gmail.com>2017-10-24 23:36:02 +0800
commit91b23246cd18345e6fb6cba5262ccd2af8876f44 (patch)
tree7e8b76e0ac32022ad4d3e34b942b39372fc45444 /test/integration/lib/first-time.js
parent61eea51310508714d753965e3055f533434001e7 (diff)
parentf503120b82c108efae0a4fc1282a43721d961ca2 (diff)
downloadtangerine-wallet-browser-91b23246cd18345e6fb6cba5262ccd2af8876f44.tar
tangerine-wallet-browser-91b23246cd18345e6fb6cba5262ccd2af8876f44.tar.gz
tangerine-wallet-browser-91b23246cd18345e6fb6cba5262ccd2af8876f44.tar.bz2
tangerine-wallet-browser-91b23246cd18345e6fb6cba5262ccd2af8876f44.tar.lz
tangerine-wallet-browser-91b23246cd18345e6fb6cba5262ccd2af8876f44.tar.xz
tangerine-wallet-browser-91b23246cd18345e6fb6cba5262ccd2af8876f44.tar.zst
tangerine-wallet-browser-91b23246cd18345e6fb6cba5262ccd2af8876f44.zip
Merge branch 'firsttimeflow' of https://github.com/chikeichan/metamask-plugin into firsttimeflow
Diffstat (limited to 'test/integration/lib/first-time.js')
-rw-r--r--test/integration/lib/first-time.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/integration/lib/first-time.js b/test/integration/lib/first-time.js
index cedb14f6e..61b38897e 100644
--- a/test/integration/lib/first-time.js
+++ b/test/integration/lib/first-time.js
@@ -1,4 +1,5 @@
const PASSWORD = 'password123'
+const runMascaraFirstTimeTest = require('./mascara-first-time')
QUnit.module('first time usage')
@@ -11,9 +12,9 @@ QUnit.test('render init screen', (assert) => {
})
async function runFirstTimeUsageTest(assert, done) {
- let waitTime = 0
- if (window.METAMASK_PLATFORM_TYPE === 'mascara') waitTime = 4000
- await timeout(waitTime)
+ if (window.METAMASK_PLATFORM_TYPE === 'mascara') {
+ return runMascaraFirstTimeTest(assert, done)
+ }
const app = $('#app-content')