aboutsummaryrefslogtreecommitdiff
path: root/e2e
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-06-16 22:15:08 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2018-06-16 22:15:08 +0900
commit8a02b5747c3090ee7ead7e181c533a06c280b6b5 (patch)
tree6ca4a165423147ec610a4a69374f6fd846b246dd /e2e
parentf43345a3a57b8fa37dd318a5bac9afcaf8390c07 (diff)
Sleep on reopen test
Diffstat (limited to 'e2e')
-rw-r--r--e2e/contents/tab.test.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/e2e/contents/tab.test.js b/e2e/contents/tab.test.js
index 72479b9..3846248 100644
--- a/e2e/contents/tab.test.js
+++ b/e2e/contents/tab.test.js
@@ -223,6 +223,8 @@ describe("tab test", () => {
expect(win.tabs).to.have.lengthOf(1);
return keys.press(win.tabs[0].id, 'u');
}).then(() => {
+ return new Promise((resolve) => setTimeout(resolve, 100));
+ }).then(() => {
return windows.get(targetWindow.id);
}).then((win) => {
expect(win.tabs).to.have.lengthOf(2);