From 1017cefae4beb38bfcbd90f49300cbf3e86e34ea Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sun, 13 May 2018 15:35:25 +0900 Subject: [PATCH] Add 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 b9d283d..2058314 100644 --- a/e2e/contents/navigate.test.js +++ b/e2e/contents/navigate.test.js @@ -53,6 +53,8 @@ describe("navigate test", () => { return keys.press(targetTab.id, 'g'); }).then(() => { return keys.press(targetTab.id, 'U', { shiftKey: true }); + }).then(() => { + return new Promise(resolve => { setTimeout(() => resolve(), 10) }); }).then(() => { return tabs.get(targetTab.id); }).then((tab) => {