diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-05-13 22:24:19 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-05-13 22:24:19 +0900 |
commit | a8d3de42434153d90eebdcceb536ce0537c9167f (patch) | |
tree | f9879006fc6475a1cf9fd98bffd1b9541f5aa4c9 | |
parent | d478aec2846fb127a4243134cfa95c0ab9d5c96f (diff) |
Insert sleep
-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 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/'); |