Skip to content

Commit d7f4a13

Browse files
committed
fix test
1 parent c8512f9 commit d7f4a13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/app.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ test.beforeAll(async () => {
3030
});
3131
appWindow = await appElectron.firstWindow();
3232

33-
await appWindow.waitForEvent('load');
33+
await appWindow.waitForEvent('domcontentloaded');
3434
});
3535

3636
test('Environment check', async () => {
@@ -44,6 +44,6 @@ test('Document element check', async () => {
4444
});
4545

4646
test.afterAll(async () => {
47-
await waiting(3000);
47+
await waiting(2000);
4848
await appElectron.close();
4949
});

0 commit comments

Comments
 (0)