From 5e688f07818d126809a14411bc307bfb3310fa53 Mon Sep 17 00:00:00 2001 From: Thomas Date: Tue, 1 May 2018 15:24:32 -0700 Subject: [PATCH] Delay around the addon install --- test/e2e/firefox/metamask.spec.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/e2e/firefox/metamask.spec.js b/test/e2e/firefox/metamask.spec.js index 850c5d6d3..c8df0475f 100644 --- a/test/e2e/firefox/metamask.spec.js +++ b/test/e2e/firefox/metamask.spec.js @@ -16,8 +16,9 @@ describe('', function () { before(async function () { const extPath = path.resolve('dist/firefox') driver = buildFirefoxWebdriver() - installWebExt(driver, extPath) await delay(2000) + installWebExt(driver, extPath) + await delay(2000) }) afterEach(async function () { @@ -34,7 +35,7 @@ describe('', function () { it('switches to Firefox addon list', async function () { await driver.get('about:debugging#addons') - await delay(1000) + await delay(10000) }) it(`selects MetaMask's extension id and opens it in the current tab`, async function () {