From e3530e8fb4b229c62ab5b742fbebc66e18c4a661 Mon Sep 17 00:00:00 2001 From: mjaruzel Date: Tue, 14 Nov 2023 14:37:44 +0100 Subject: [PATCH] chore: wait for Desktop --- tests/integration/integration.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/integration.test.js b/tests/integration/integration.test.js index 4ef2177d..f6ae1ffb 100644 --- a/tests/integration/integration.test.js +++ b/tests/integration/integration.test.js @@ -72,7 +72,7 @@ async function waitForApp(app) { expect(await app.client.getWindowCount()).to.equal(1); await app.client.waitUntil( async () => app.client.execute( - () => document.readyState === 'complete' + () => document.readyState === 'complete' && window.Desktop ) ); return { app, window };