Skip to content

[Test] Use playwright electron module for e2e testing #809

[Test] Use playwright electron module for e2e testing

[Test] Use playwright electron module for e2e testing #809

Re-run triggered February 12, 2025 12:50
Status Failure
Total duration 10m 19s
Artifacts 6

integration_test_windows.yml

on: pull_request
integration-windows-test
10m 7s
integration-windows-test
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 1 warning, and 1 notice
appLifecycle.spec.ts:6:3 › App Lifecycle › does all app startup things from previous test: tests\integration\appLifecycle.spec.ts#L12
1) appLifecycle.spec.ts:6:3 › App Lifecycle › does all app startup things from previous test ───── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByText('Get Started') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByText('Get Started') 10 | const getStartedButton = window.getByText('Get Started'); 11 | > 12 | await expect(getStartedButton).toBeVisible(); | ^ 13 | await expect(getStartedButton).toBeEnabled(); 14 | 15 | await window.screenshot({ path: 'screenshot-load.png' }); at D:\a\desktop\desktop\tests\integration\appLifecycle.spec.ts:12:36
appLifecycle.spec.ts:6:3 › App Lifecycle › does all app startup things from previous test: tests\integration\autoCleaningTestApp.ts#L15
1) appLifecycle.spec.ts:6:3 › App Lifecycle › does all app startup things from previous test ───── Error: ENOENT: no such file or directory, copyfile 'C:\Users\runneradmin\AppData\Roaming\ComfyUI\logs\comfyui.log' -> 'D:\a\desktop\desktop\test-results\appLifecycle-App-Lifecycle-9524e-p-things-from-previous-test\attachments\comfyui-log-7484453ba14255aaf8051a5240861b6bd398ac02.log' at autoCleaningTestApp.ts:15 13 | const appEnv = app.testEnvironment; 14 | await testInfo.attach('main.log', { path: appEnv.mainLogPath }); > 15 | await testInfo.attach('comfyui.log', { path: appEnv.comfyuiLogPath }); | ^ 16 | }, 17 | }); 18 | at Object.autoCleaningApp (D:\a\desktop\desktop\tests\integration\autoCleaningTestApp.ts:15:5)
appLifecycle.spec.ts:6:3 › App Lifecycle › does all app startup things from previous test: tests\integration\appLifecycle.spec.ts#L12
1) appLifecycle.spec.ts:6:3 › App Lifecycle › does all app startup things from previous test ───── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByText('Get Started') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByText('Get Started') 10 | const getStartedButton = window.getByText('Get Started'); 11 | > 12 | await expect(getStartedButton).toBeVisible(); | ^ 13 | await expect(getStartedButton).toBeEnabled(); 14 | 15 | await window.screenshot({ path: 'screenshot-load.png' }); at D:\a\desktop\desktop\tests\integration\appLifecycle.spec.ts:12:36
appLifecycle.spec.ts:6:3 › App Lifecycle › does all app startup things from previous test: tests\integration\autoCleaningTestApp.ts#L15
1) appLifecycle.spec.ts:6:3 › App Lifecycle › does all app startup things from previous test ───── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: ENOENT: no such file or directory, copyfile 'C:\Users\runneradmin\AppData\Roaming\ComfyUI\logs\comfyui.log' -> 'D:\a\desktop\desktop\test-results\appLifecycle-App-Lifecycle-9524e-p-things-from-previous-test-retry1\attachments\comfyui-log-7484453ba14255aaf8051a5240861b6bd398ac02.log' at autoCleaningTestApp.ts:15 13 | const appEnv = app.testEnvironment; 14 | await testInfo.attach('main.log', { path: appEnv.mainLogPath }); > 15 | await testInfo.attach('comfyui.log', { path: appEnv.comfyuiLogPath }); | ^ 16 | }, 17 | }); 18 | at Object.autoCleaningApp (D:\a\desktop\desktop\tests\integration\autoCleaningTestApp.ts:15:5)
integration-windows-test
Process completed with exit code 1.
Slow Test: appWindow.spec.ts#L1
appWindow.spec.ts took 42.0s
🎭 Playwright Run Summary
1 failed appLifecycle.spec.ts:6:3 › App Lifecycle › does all app startup things from previous test ────── 2 passed (1.4m)

Artifacts

Produced during runtime
Name Size
desktop-logs
358 Bytes
screenshot
1.57 KB
test-results
5.01 KB