diff options
author | frankiebee <frankie.diamond@gmail.com> | 2017-09-16 02:33:37 +0800 |
---|---|---|
committer | frankiebee <frankie.diamond@gmail.com> | 2017-09-16 02:57:25 +0800 |
commit | c5a2527c17f9c7f47645dc4d99694645d1985022 (patch) | |
tree | 04b1f6048c6d10a245d237d0fa6ccac43e8c0f79 /test | |
parent | 7bcca782cbea545fedabf33d73311c0e361690c2 (diff) | |
download | tangerine-wallet-browser-c5a2527c17f9c7f47645dc4d99694645d1985022.tar tangerine-wallet-browser-c5a2527c17f9c7f47645dc4d99694645d1985022.tar.gz tangerine-wallet-browser-c5a2527c17f9c7f47645dc4d99694645d1985022.tar.bz2 tangerine-wallet-browser-c5a2527c17f9c7f47645dc4d99694645d1985022.tar.lz tangerine-wallet-browser-c5a2527c17f9c7f47645dc4d99694645d1985022.tar.xz tangerine-wallet-browser-c5a2527c17f9c7f47645dc4d99694645d1985022.tar.zst tangerine-wallet-browser-c5a2527c17f9c7f47645dc4d99694645d1985022.zip |
set time if platform is mascara
Diffstat (limited to 'test')
-rw-r--r-- | test/integration/lib/first-time.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/integration/lib/first-time.js b/test/integration/lib/first-time.js index 3f0fe165b..e84a51c64 100644 --- a/test/integration/lib/first-time.js +++ b/test/integration/lib/first-time.js @@ -11,8 +11,10 @@ QUnit.test('render init screen', (assert) => { }) async function runFirstTimeUsageTest(assert, done) { - - await timeout() + let waitTime = 0 + window.METAMASK_SKIP_RELOAD = true + if (window.METAMASK_PLATFORM_TYPE === 'mascara') waitTime = 1000 + await timeout(waitTime) const app = $('#app-content') |