diff options
Diffstat (limited to 'e2e')
-rw-r--r-- | e2e/contents/tab.test.js | 2 |
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); |