Inline validation replaced with generic hook on NewTraining #281
e2e-tests.yml
on: pull_request
Playwright E2E Tests
18m 45s
Annotations
10 errors, 1 warning, and 1 notice
|
[auth-tests] › e2e/auth.spec.ts:26:3 › Authentication › successful login redirects to dashboard:
Clients/e2e/auth.spec.ts#L31
4) [auth-tests] › e2e/auth.spec.ts:26:3 › Authentication › successful login redirects to dashboard
Error: locator.fill: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByPlaceholder('name.surname@companyname.com')
29 | await page
30 | .getByPlaceholder("name.surname@companyname.com")
> 31 | .fill(TEST_EMAIL);
| ^
32 | await page.getByPlaceholder("Enter your password").fill(TEST_PASSWORD);
33 | await page.getByRole("button", { name: /sign in/i }).click();
34 |
at /home/runner/work/verifywise/verifywise/Clients/e2e/auth.spec.ts:31:8
|
|
[auth-tests] › e2e/auth.spec.ts:26:3 › Authentication › successful login redirects to dashboard:
Clients/e2e/auth.spec.ts#L0
4) [auth-tests] › e2e/auth.spec.ts:26:3 › Authentication › successful login redirects to dashboard
Test timeout of 60000ms exceeded.
|
|
[auth-tests] › e2e/auth.spec.ts:19:3 › Authentication › redirects to /login when accessing protected route without auth:
Clients/e2e/auth.spec.ts#L23
3) [auth-tests] › e2e/auth.spec.ts:19:3 › Authentication › redirects to /login when accessing protected route without auth
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(page).toHaveURL(expected) failed
Expected pattern: /\/login/
Received string: "http://localhost:5173/vendors"
Timeout: 5000ms
Call log:
- Expect "toHaveURL" with timeout 5000ms
9 × unexpected value "http://localhost:5173/vendors"
21 | }) => {
22 | await page.goto("/vendors");
> 23 | await expect(page).toHaveURL(/\/login/);
| ^
24 | });
25 |
26 | test("successful login redirects to dashboard", async ({ page }) => {
at /home/runner/work/verifywise/verifywise/Clients/e2e/auth.spec.ts:23:24
|
|
[auth-tests] › e2e/auth.spec.ts:19:3 › Authentication › redirects to /login when accessing protected route without auth:
Clients/e2e/auth.spec.ts#L23
3) [auth-tests] › e2e/auth.spec.ts:19:3 › Authentication › redirects to /login when accessing protected route without auth
Error: expect(page).toHaveURL(expected) failed
Expected pattern: /\/login/
Received string: "http://localhost:5173/vendors"
Timeout: 5000ms
Call log:
- Expect "toHaveURL" with timeout 5000ms
9 × unexpected value "http://localhost:5173/vendors"
21 | }) => {
22 | await page.goto("/vendors");
> 23 | await expect(page).toHaveURL(/\/login/);
| ^
24 | });
25 |
26 | test("successful login redirects to dashboard", async ({ page }) => {
at /home/runner/work/verifywise/verifywise/Clients/e2e/auth.spec.ts:23:24
|
|
[auth-tests] › e2e/auth.spec.ts:8:3 › Authentication › login page renders correctly:
Clients/e2e/auth.spec.ts#L11
2) [auth-tests] › e2e/auth.spec.ts:8:3 › Authentication › login page renders correctly ───────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible() failed
Locator: getByText('Log in to your account')
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for getByText('Log in to your account')
9 | await page.goto("/login");
10 |
> 11 | await expect(page.getByText("Log in to your account")).toBeVisible();
| ^
12 | await expect(
13 | page.getByPlaceholder("name.surname@companyname.com")
14 | ).toBeVisible();
at /home/runner/work/verifywise/verifywise/Clients/e2e/auth.spec.ts:11:60
|
|
[auth-tests] › e2e/auth.spec.ts:8:3 › Authentication › login page renders correctly:
Clients/e2e/auth.spec.ts#L11
2) [auth-tests] › e2e/auth.spec.ts:8:3 › Authentication › login page renders correctly ───────────
Error: expect(locator).toBeVisible() failed
Locator: getByText('Log in to your account')
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for getByText('Log in to your account')
9 | await page.goto("/login");
10 |
> 11 | await expect(page.getByText("Log in to your account")).toBeVisible();
| ^
12 | await expect(
13 | page.getByPlaceholder("name.surname@companyname.com")
14 | ).toBeVisible();
at /home/runner/work/verifywise/verifywise/Clients/e2e/auth.spec.ts:11:60
|
|
[setup] › e2e/global.setup.ts:17:1 › authenticate:
Clients/e2e/global.setup.ts#L22
1) [setup] › e2e/global.setup.ts:17:1 › authenticate ─────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.fill: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByPlaceholder('name.surname@companyname.com')
20 | await page
21 | .getByPlaceholder("name.surname@companyname.com")
> 22 | .fill(TEST_EMAIL);
| ^
23 | await page.getByPlaceholder("Enter your password").fill(TEST_PASSWORD);
24 | await page.getByRole("button", { name: /sign in/i }).click();
25 |
at /home/runner/work/verifywise/verifywise/Clients/e2e/global.setup.ts:22:6
|
|
[setup] › e2e/global.setup.ts:17:1 › authenticate:
Clients/e2e/global.setup.ts#L0
1) [setup] › e2e/global.setup.ts:17:1 › authenticate ─────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 60000ms exceeded.
|
|
[setup] › e2e/global.setup.ts:17:1 › authenticate:
Clients/e2e/global.setup.ts#L22
1) [setup] › e2e/global.setup.ts:17:1 › authenticate ─────────────────────────────────────────────
Error: locator.fill: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByPlaceholder('name.surname@companyname.com')
20 | await page
21 | .getByPlaceholder("name.surname@companyname.com")
> 22 | .fill(TEST_EMAIL);
| ^
23 | await page.getByPlaceholder("Enter your password").fill(TEST_PASSWORD);
24 | await page.getByRole("button", { name: /sign in/i }).click();
25 |
at /home/runner/work/verifywise/verifywise/Clients/e2e/global.setup.ts:22:6
|
|
[setup] › e2e/global.setup.ts:17:1 › authenticate:
Clients/e2e/global.setup.ts#L0
1) [setup] › e2e/global.setup.ts:17:1 › authenticate ─────────────────────────────────────────────
Test timeout of 60000ms exceeded.
|
|
Playwright E2E Tests
No files were found with the provided path: Clients/playwright-report/. No artifacts will be uploaded.
|
|
🎭 Playwright Run Summary
12 failed
[setup] › e2e/global.setup.ts:17:1 › authenticate ──────────────────────────────────────────────
[auth-tests] › e2e/auth.spec.ts:8:3 › Authentication › login page renders correctly ────────────
[auth-tests] › e2e/auth.spec.ts:19:3 › Authentication › redirects to /login when accessing protected route without auth
[auth-tests] › e2e/auth.spec.ts:26:3 › Authentication › successful login redirects to dashboard
[auth-tests] › e2e/auth.spec.ts:39:3 › Authentication › shows error on invalid credentials ─────
[auth-tests] › e2e/auth.spec.ts:52:3 › Authentication › forgot password link navigates correctly
[auth-tests] › e2e/auth.spec.ts:58:3 › Authentication › register link navigates correctly ──────
[auth-tests] › e2e/auth.spec.ts:76:3 › Authentication › logout redirects to login page ─────────
[auth-tests] › e2e/auth.spec.ts:119:3 › Authentication › registration page renders form fields ─
[auth-tests] › e2e/auth.spec.ts:137:3 › Authentication › registration form shows validation on empty submit
[auth-tests] › e2e/auth.spec.ts:163:3 › Authentication › forgot password page renders form ─────
[auth-tests] › e2e/auth.spec.ts:179:3 › Authentication › forgot password button is disabled when email is empty
237 did not run
1 passed (15.9m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-results
Expired
|
1.59 MB |
sha256:c349dc4033c4cab6ed14045f2046d11ac1a2e3de543a23bd9887955594f6c048
|
|