From a8d3de42434153d90eebdcceb536ce0537c9167f Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sun, 13 May 2018 22:24:19 +0900 Subject: [PATCH] Insert sleep --- e2e/contents/navigate.test.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/e2e/contents/navigate.test.js b/e2e/contents/navigate.test.js index 2058314..b3f5f32 100644 --- a/e2e/contents/navigate.test.js +++ b/e2e/contents/navigate.test.js @@ -25,6 +25,8 @@ describe("navigate test", () => { return keys.press(targetTab.id, 'g'); }).then(() => { return keys.press(targetTab.id, 'u'); + }).then(() => { + return new Promise(resolve => { setTimeout(() => resolve(), 10) }); }).then(() => { return tabs.get(targetTab.id); }).then((tab) => {