[Test] Use playwright electron module for e2e testing #801
Triggered via pull request
February 12, 2025 08:19
Status
Failure
Total duration
10m 39s
Artifacts
–
integration_test_windows.yml
on: pull_request
integration-windows-test
10m 27s
Annotations
3 errors, 3 warnings, and 1 notice
appLifecycle.spec.ts:6:3 › App Lifecycle › does all app startup things from previous test:
tests\integration\appLifecycle.spec.ts#L11
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')
9 | const getStartedButton = window.getByText('Get Started');
10 |
> 11 | await expect(getStartedButton).toBeVisible();
| ^
12 | await expect(getStartedButton).toBeEnabled();
13 |
14 | await window.screenshot({ path: 'screenshot-load.png' });
at D:\a\desktop\desktop\tests\integration\appLifecycle.spec.ts:11:36
|
appLifecycle.spec.ts:6:3 › App Lifecycle › does all app startup things from previous test:
tests\integration\appLifecycle.spec.ts#L11
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')
9 | const getStartedButton = window.getByText('Get Started');
10 |
> 11 | await expect(getStartedButton).toBeVisible();
| ^
12 | await expect(getStartedButton).toBeEnabled();
13 |
14 | await window.screenshot({ path: 'screenshot-load.png' });
at D:\a\desktop\desktop\tests\integration\appLifecycle.spec.ts:11:36
|
integration-windows-test
Process completed with exit code 1.
|
Slow Test:
appWindow.spec.ts#L1
appWindow.spec.ts took 17.2s
|
integration-windows-test
No files were found with the provided path: screenshot*.png. No artifacts will be uploaded.
|
integration-windows-test
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
|
🎭 Playwright Run Summary
1 failed
appLifecycle.spec.ts:6:3 › App Lifecycle › does all app startup things from previous test ──────
2 passed (33.6s)
|