Sleep on reopen test

This commit is contained in:
Shin'ya Ueoka 2018-06-16 22:15:08 +09:00
parent f43345a3a5
commit 8a02b5747c

View file

@ -222,6 +222,8 @@ describe("tab test", () => {
}).then((win) => {
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) => {