Sleep on reopen test
This commit is contained in:
parent
f43345a3a5
commit
8a02b5747c
1 changed files with 2 additions and 0 deletions
|
@ -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) => {
|
||||
|
|
Reference in a new issue