aboutsummaryrefslogtreecommitdiff
path: root/e2e/contents/navigate.test.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-05-13 15:35:25 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2018-05-13 15:35:25 +0900
commit1017cefae4beb38bfcbd90f49300cbf3e86e34ea (patch)
treeee4fe3dd83908bdfcb479bfeeaca5eb7ca288d35 /e2e/contents/navigate.test.js
parent28da164e5c630a7d9d0dafe61277814b7b777804 (diff)
Add sleep
Diffstat (limited to 'e2e/contents/navigate.test.js')
-rw-r--r--e2e/contents/navigate.test.js2
1 files changed, 2 insertions, 0 deletions
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
@@ -54,6 +54,8 @@ describe("navigate test", () => {
}).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) => {
expect(tab.url).to.be.equal(CLIENT_URL + '/');