Add Playwright E2E test suite with CI integration #1461
dev.yml
on: pull_request
run-tests
/
build
3m 27s
run-e2e-tests
/
e2e
4m 23s
build-dev-container
/
build-server
7s
build-dev-container
/
build-client
9m 31s
deploy-dev-container
/
deploy
8m 10s
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#L72
1) [chromium] › e2e/navigation.spec.ts:57:7 › Navigation - Student routes › can navigate between pages via sidebar
Error: expect(page).toHaveURL(expected) failed
Expected pattern: /\/dashboard/
Received string: "http://localhost:3000/submit-application"
Timeout: 15000ms
Call log:
- Expect "toHaveURL" with timeout 15000ms
19 × unexpected value "http://localhost:3000/submit-application"
70 | // Navigate back to Dashboard
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 |
at /home/runner/work/thesis-management/thesis-management/client/e2e/navigation.spec.ts:72:24
|
|
Build and Deploy to Dev
Canceling since a higher priority waiting request for deploy-dev-843 exists
|
|
Build and Deploy to Dev
Canceling since a higher priority waiting request for deploy-dev-843 exists
|
|
🎭 Playwright Run Summary
1 flaky
[chromium] › e2e/navigation.spec.ts:57:7 › Navigation - Student routes › can navigate between pages via sidebar
61 passed (2.2m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
coverage-report
Expired
|
1010 KB |
sha256:da6106fe146480c7c494833241d93ee904f3d18054a530e74da71d870fdf187d
|
|
|
playwright-report
Expired
|
1.64 MB |
sha256:3e39bd2d7cd40410527789c90454be51cb4f071ae66cc87fcde81cc12489d5cd
|
|
|
playwright-results
Expired
|
996 KB |
sha256:b1faa1988c578853b8debeb2cc44232d86ee44731900bf8941f7fa8e93931d7e
|
|
|
test-results
Expired
|
598 KB |
sha256:a9990f63c5dcf1ef781faac3b0cd96efe6aa230255c72bf7037970b190618ce7
|
|