|
|
@ -222,6 +222,8 @@ describe("tab test", () => { |
|
|
|
}).then((win) => { |
|
|
|
}).then((win) => { |
|
|
|
expect(win.tabs).to.have.lengthOf(1); |
|
|
|
expect(win.tabs).to.have.lengthOf(1); |
|
|
|
return keys.press(win.tabs[0].id, 'u'); |
|
|
|
return keys.press(win.tabs[0].id, 'u'); |
|
|
|
|
|
|
|
}).then(() => { |
|
|
|
|
|
|
|
return new Promise((resolve) => setTimeout(resolve, 100)); |
|
|
|
}).then(() => { |
|
|
|
}).then(() => { |
|
|
|
return windows.get(targetWindow.id); |
|
|
|
return windows.get(targetWindow.id); |
|
|
|
}).then((win) => { |
|
|
|
}).then((win) => { |
|
|
|