Playwright & UI Tests #2
e2e-tests.yml
on: pull_request
Playwright E2E Tests
4m 27s
Annotations
5 errors, 1 warning, and 1 notice
|
Playwright E2E Tests
Process completed with exit code 1.
|
|
[auth-tests] › e2e/auth.spec.ts:25:3 › Authentication › successful login redirects to dashboard:
Clients/e2e/auth.spec.ts#L35
2) [auth-tests] › e2e/auth.spec.ts:25:3 › Authentication › successful login redirects to dashboard
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(page).toHaveURL(expected) failed
Expected: "http://localhost:5173/"
Received: "http://localhost:5173/login"
Timeout: 15000ms
Call log:
- Expect "toHaveURL" with timeout 15000ms
19 × unexpected value "http://localhost:5173/login"
33 |
34 | // Should redirect to the dashboard
> 35 | await expect(page).toHaveURL("/", { timeout: 15_000 });
| ^
36 | });
37 |
38 | test("shows error on invalid credentials", async ({ page }) => {
at /home/runner/work/verifywise/verifywise/Clients/e2e/auth.spec.ts:35:24
|
|
[auth-tests] › e2e/auth.spec.ts:25:3 › Authentication › successful login redirects to dashboard:
Clients/e2e/auth.spec.ts#L35
2) [auth-tests] › e2e/auth.spec.ts:25:3 › Authentication › successful login redirects to dashboard
Error: expect(page).toHaveURL(expected) failed
Expected: "http://localhost:5173/"
Received: "http://localhost:5173/login"
Timeout: 15000ms
Call log:
- Expect "toHaveURL" with timeout 15000ms
19 × unexpected value "http://localhost:5173/login"
33 |
34 | // Should redirect to the dashboard
> 35 | await expect(page).toHaveURL("/", { timeout: 15_000 });
| ^
36 | });
37 |
38 | test("shows error on invalid credentials", async ({ page }) => {
at /home/runner/work/verifywise/verifywise/Clients/e2e/auth.spec.ts:35:24
|
|
[setup] › e2e/global.setup.ts:17:1 › authenticate:
Clients/e2e/global.setup.ts#L27
1) [setup] › e2e/global.setup.ts:17:1 › authenticate ─────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(page).toHaveURL(expected) failed
Expected: "http://localhost:5173/"
Received: "http://localhost:5173/login"
Timeout: 15000ms
Call log:
- Expect "toHaveURL" with timeout 15000ms
19 × unexpected value "http://localhost:5173/login"
25 |
26 | // 2. Wait for redirect to dashboard (confirms login succeeded)
> 27 | await expect(page).toHaveURL("/", { timeout: 15_000 });
| ^
28 |
29 | // 3. Save storage state (localStorage + cookies) for reuse by other tests
30 | await page.context().storageState({ path: AUTH_STATE_PATH });
at /home/runner/work/verifywise/verifywise/Clients/e2e/global.setup.ts:27:22
|
|
[setup] › e2e/global.setup.ts:17:1 › authenticate:
Clients/e2e/global.setup.ts#L27
1) [setup] › e2e/global.setup.ts:17:1 › authenticate ─────────────────────────────────────────────
Error: expect(page).toHaveURL(expected) failed
Expected: "http://localhost:5173/"
Received: "http://localhost:5173/login"
Timeout: 15000ms
Call log:
- Expect "toHaveURL" with timeout 15000ms
19 × unexpected value "http://localhost:5173/login"
25 |
26 | // 2. Wait for redirect to dashboard (confirms login succeeded)
> 27 | await expect(page).toHaveURL("/", { timeout: 15_000 });
| ^
28 |
29 | // 3. Save storage state (localStorage + cookies) for reuse by other tests
30 | await page.context().storageState({ path: AUTH_STATE_PATH });
at /home/runner/work/verifywise/verifywise/Clients/e2e/global.setup.ts:27:22
|
|
Playwright E2E Tests
No files were found with the provided path: Clients/playwright-report/. No artifacts will be uploaded.
|
|
🎭 Playwright Run Summary
2 failed
[setup] › e2e/global.setup.ts:17:1 › authenticate ──────────────────────────────────────────────
[auth-tests] › e2e/auth.spec.ts:25:3 › Authentication › successful login redirects to dashboard
12 did not run
5 passed (1.6m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-results
Expired
|
1.89 MB |
sha256:0740cd33721bfecabb9b0a7f736c7772db8d9bb2da3dd5cf0728af8408a7b5d5
|
|