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 };