aboutsummaryrefslogtreecommitdiff
path: root/e2e
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-05-13 22:24:19 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2018-05-13 22:24:19 +0900
commita8d3de42434153d90eebdcceb536ce0537c9167f (patch)
treef9879006fc6475a1cf9fd98bffd1b9541f5aa4c9 /e2e
parentd478aec2846fb127a4243134cfa95c0ab9d5c96f (diff)
Insert sleep
Diffstat (limited to 'e2e')
-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 2058314..b3f5f32 100644
--- a/e2e/contents/navigate.test.js
+++ b/e2e/contents/navigate.test.js
@@ -26,6 +26,8 @@ describe("navigate test", () => {
}).then(() => {
return keys.press(targetTab.id, 'u');
}).then(() => {
+ return new Promise(resolve => { setTimeout(() => resolve(), 10) });
+ }).then(() => {
return tabs.get(targetTab.id);
}).then((tab) => {
expect(tab.url).to.be.equal(CLIENT_URL + '/a/b/');