Skip to content

Commit 016273c

Browse files
authored
Fix e2e test for ESM. (#211)
1 parent e83210a commit 016273c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/basic-vanilla-esm/index.e2e.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ test('Hello Electron', async () => {
1515
});
1616

1717
const window = await electronApp.firstWindow();
18+
await window.waitForEvent('load');
1819
expect(await window.title()).toBe('Hello from Electron renderer!');
1920

2021
const response = await window.textContent('[data-testid="greeting"]');

0 commit comments

Comments
 (0)