mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
integration test fixes
Signed-off-by: Jari Kolehmainen <jkolehmainen@mirantis.com>
This commit is contained in:
1 parent
7c3eee0cfc
commit
7ca7e44287
2 files changed
+13
-9
No files matched your search
@@ -37,7 +37,11 @@ describe("app start", () => {
|
||||
app = util.setup()
|
||||
await app.start()
|
||||
await app.client.waitUntilWindowLoaded()
|
||||
const windowCount = await app.client.getWindowCount()
|
||||
let windowCount = await app.client.getWindowCount()
|
||||
while (windowCount > 1) {
|
||||
windowCount = await app.client.getWindowCount()
|
||||
console.log(windowCount)
|
||||
}
|
||||
await app.client.windowByIndex(windowCount - 1)
|
||||
await app.client.waitUntilWindowLoaded()
|
||||
}, 20000)
|
||||
|
||||
Reference in new issue
Block a user