Add Playwright E2E test suite with CI integration (#843) #1467
dev.yml
on: push
run-tests
/
build
3m 6s
run-e2e-tests
/
e2e
3m 43s
build-dev-container
/
build-server
10s
build-dev-container
/
build-client
10m 7s
deploy-dev-container
/
deploy
2h 35m
Annotations
3 errors and 1 notice
|
[chromium] › e2e/navigation.spec.ts:57:7 › Navigation - Student routes › can navigate between pages via sidebar:
client/e2e/navigation.spec.ts#L73
1) [chromium] › e2e/navigation.spec.ts:57:7 › Navigation - Student routes › can navigate between pages via sidebar
Error: expect(locator).toBeVisible() failed
Locator: getByRole('heading', { name: /dashboard/i })
Expected: visible
Timeout: 15000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 15000ms
- waiting for getByRole('heading', { name: /dashboard/i })
71 | await page.getByRole('link', { name: 'Dashboard' }).click()
72 | await expect(page).toHaveURL(/\/dashboard/)
> 73 | await expect(page.getByRole('heading', { name: /dashboard/i })).toBeVisible()
| ^
74 | })
75 |
76 | test('header logo navigates to dashboard when authenticated', async ({ page }) => {
at /home/runner/work/thesis-management/thesis-management/client/e2e/navigation.spec.ts:73:69
|
|
Build and Deploy to Dev
Canceling since a higher priority waiting request for deploy-dev-refs/heads/develop exists
|
|
Build and Deploy to Dev
Canceling since a higher priority waiting request for deploy-dev-refs/heads/develop exists
|
|
🎭 Playwright Run Summary
1 flaky
[chromium] › e2e/navigation.spec.ts:57:7 › Navigation - Student routes › can navigate between pages via sidebar
71 passed (1.5m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
coverage-report
Expired
|
1010 KB |
sha256:cfba289a3f4c68e54786f2633e4a3fcc720656818a629b27e7b44eda14cfcac4
|
|
|
playwright-report
Expired
|
1.58 MB |
sha256:56a2cbd1040a4aeff314e2fe13095ea7c8a13d5223e2a893022ccd941758c0ea
|
|
|
playwright-results
Expired
|
950 KB |
sha256:75dc3f8084c916b98f61e0a87be5d4ce2dadd976fe3905a7a09f6f4436153b85
|
|
|
test-results
Expired
|
599 KB |
sha256:5a577662e1e0edd64eb3bbeb39caca5513408e6848e8c45489e13a617a777730
|
|