aboutsummaryrefslogtreecommitdiff
path: root/e2e/contents/tab.test.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-06-16 22:22:24 +0900
committerGitHub <noreply@github.com>2018-06-16 22:22:24 +0900
commit9b27e4cd4f483d84baef370fdfddc696d202fe19 (patch)
tree6ca4a165423147ec610a4a69374f6fd846b246dd /e2e/contents/tab.test.js
parent356c8d2ac640e27603a438eee60771124dc28ee3 (diff)
parent8a02b5747c3090ee7ead7e181c533a06c280b6b5 (diff)
Merge pull request #413 from ueokande/reopen-current-window
Reopen current window
Diffstat (limited to 'e2e/contents/tab.test.js')
-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);