Skip to content

Commit

Permalink
chore: wait for Desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
mjcctech committed Nov 14, 2023
1 parent a4b593c commit e3530e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/integration.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 };
Expand Down

0 comments on commit e3530e8

Please sign in to comment.