diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-05-13 15:35:25 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-05-13 15:35:25 +0900 |
commit | 1017cefae4beb38bfcbd90f49300cbf3e86e34ea (patch) | |
tree | ee4fe3dd83908bdfcb479bfeeaca5eb7ca288d35 /e2e/contents/navigate.test.js | |
parent | 28da164e5c630a7d9d0dafe61277814b7b777804 (diff) |
Add sleep
Diffstat (limited to 'e2e/contents/navigate.test.js')
-rw-r--r-- | e2e/contents/navigate.test.js | 2 |
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 + '/'); |