diff options
author | Chi Kei Chan <chikeichan@gmail.com> | 2017-10-03 09:11:27 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-10-21 12:51:37 +0800 |
commit | d9735ed5b31caf17506e6cace436f6268f5ca78d (patch) | |
tree | eb8385efdd12c08fac7748aa6ad2d9b8cfe56396 /test/integration/lib/first-time.js | |
parent | 996523c790e2299ff4d8b67151ef0add12f5f778 (diff) | |
download | tangerine-wallet-browser-d9735ed5b31caf17506e6cace436f6268f5ca78d.tar tangerine-wallet-browser-d9735ed5b31caf17506e6cace436f6268f5ca78d.tar.gz tangerine-wallet-browser-d9735ed5b31caf17506e6cace436f6268f5ca78d.tar.bz2 tangerine-wallet-browser-d9735ed5b31caf17506e6cace436f6268f5ca78d.tar.lz tangerine-wallet-browser-d9735ed5b31caf17506e6cace436f6268f5ca78d.tar.xz tangerine-wallet-browser-d9735ed5b31caf17506e6cace436f6268f5ca78d.tar.zst tangerine-wallet-browser-d9735ed5b31caf17506e6cace436f6268f5ca78d.zip |
Fixing integraiton test
Diffstat (limited to 'test/integration/lib/first-time.js')
-rw-r--r-- | test/integration/lib/first-time.js | 7 |
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') |