Skip to content

Commit f031c85

Browse files
committed
WIP: debug electron in CI
1 parent 7b9a437 commit f031c85

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/smoke.spec.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ test('app launches and loads UI from server', async () => {
88
timeout: 60000
99
});
1010

11+
electronApp.process().stdout?.on('data', (data) => {
12+
console.log('[stdout]', data.toString());
13+
});
14+
electronApp.process().stderr?.on('data', (data) => {
15+
console.error('[stderr]', data.toString());
16+
});
17+
1118
const window = await electronApp.firstWindow();
1219

1320
await expect(window.evaluate(() => typeof (window as any).desktopApi !== 'undefined')).resolves.toBe(true);

0 commit comments

Comments
 (0)