From c9301f30deb12063bf2104b96558bdae36a3d34b Mon Sep 17 00:00:00 2001 From: Zalmoxisus Date: Sun, 6 Dec 2015 12:07:47 +0200 Subject: [PATCH] Wait 1 second before executing e2e test --- test/shared/functions.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/shared/functions.js b/test/shared/functions.js index 38dc58a..ff23e68 100644 --- a/test/shared/functions.js +++ b/test/shared/functions.js @@ -10,7 +10,9 @@ export function doBefore(done, action, load = './build/extension', port = 9515, }) .forBrowser(browser) .build(); - action().then(() => done()); + action().then(() => { + setTimeout(done, 1000); + }); } export function doAfter(done) {