[Test] Use playwright electron module for e2e testing #808
integration_test_windows.yml
on: pull_request
integration-windows-test
10m 25s
Annotations
3 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\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
|
integration-windows-test
Process completed with exit code 1.
|
Slow Test:
appWindow.spec.ts#L1
appWindow.spec.ts took 43.2s
|
🎭 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
|
353 Bytes |
|
screenshot
|
1.64 KB |
|
test-results
|
3.42 KB |
|