fix: split Next.js build from Playwright webServer to avoid CI timeout #149
build.yaml
on: push
Validate Code Quality
1m 11s
Build and Push Docker Image
0s
Annotations
4 errors, 1 warning, and 1 notice
|
Run Tests
Process completed with exit code 1.
|
|
[setup] › e2e/auth.setup.ts:5:6 › authenticate as chris:
e2e/helpers/auth.ts#L16
1) [setup] › e2e/auth.setup.ts:5:6 › authenticate as chris ───────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.fill: Error: Element is not an <input>, <textarea>, <select> or [contenteditable] and does not have a role allowing [aria-readonly]
Call log:
- waiting for getByLabel('Password')
- locator resolved to <button type="button" aria-label="Show password" class="inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 hover:bg-accent hover:text-accent-foreground -translate-y-1/2 absolute top-1/2 right-2 h-8 w-8">…</button>
- fill("***")
- attempting fill action
- waiting for element to be visible, enabled and editable
at helpers/auth.ts:16
14 | await page.goto("/login");
15 | await page.getByLabel("Email or Username").fill(username);
> 16 | await page.getByLabel("Password").fill(password);
| ^
17 | await page.getByRole("button", { name: "Login" }).click();
18 | await page.waitForURL("**/dashboard");
19 | }
at signIn (/home/runner/work/AssurancePlatform/AssurancePlatform/e2e/helpers/auth.ts:16:36)
at /home/runner/work/AssurancePlatform/AssurancePlatform/e2e/auth.setup.ts:6:2
|
|
[setup] › e2e/auth.setup.ts:5:6 › authenticate as chris:
e2e/helpers/auth.ts#L16
1) [setup] › e2e/auth.setup.ts:5:6 › authenticate as chris ───────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.fill: Error: Element is not an <input>, <textarea>, <select> or [contenteditable] and does not have a role allowing [aria-readonly]
Call log:
- waiting for getByLabel('Password')
- locator resolved to <button type="button" aria-label="Show password" class="inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 hover:bg-accent hover:text-accent-foreground -translate-y-1/2 absolute top-1/2 right-2 h-8 w-8">…</button>
- fill("***")
- attempting fill action
- waiting for element to be visible, enabled and editable
at helpers/auth.ts:16
14 | await page.goto("/login");
15 | await page.getByLabel("Email or Username").fill(username);
> 16 | await page.getByLabel("Password").fill(password);
| ^
17 | await page.getByRole("button", { name: "Login" }).click();
18 | await page.waitForURL("**/dashboard");
19 | }
at signIn (/home/runner/work/AssurancePlatform/AssurancePlatform/e2e/helpers/auth.ts:16:36)
at /home/runner/work/AssurancePlatform/AssurancePlatform/e2e/auth.setup.ts:6:2
|
|
[setup] › e2e/auth.setup.ts:5:6 › authenticate as chris:
e2e/helpers/auth.ts#L16
1) [setup] › e2e/auth.setup.ts:5:6 › authenticate as chris ───────────────────────────────────────
Error: locator.fill: Error: Element is not an <input>, <textarea>, <select> or [contenteditable] and does not have a role allowing [aria-readonly]
Call log:
- waiting for getByLabel('Password')
- locator resolved to <button type="button" aria-label="Show password" class="inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 hover:bg-accent hover:text-accent-foreground -translate-y-1/2 absolute top-1/2 right-2 h-8 w-8">…</button>
- fill("***")
- attempting fill action
- waiting for element to be visible, enabled and editable
at helpers/auth.ts:16
14 | await page.goto("/login");
15 | await page.getByLabel("Email or Username").fill(username);
> 16 | await page.getByLabel("Password").fill(password);
| ^
17 | await page.getByRole("button", { name: "Login" }).click();
18 | await page.waitForURL("**/dashboard");
19 | }
at signIn (/home/runner/work/AssurancePlatform/AssurancePlatform/e2e/helpers/auth.ts:16:36)
at /home/runner/work/AssurancePlatform/AssurancePlatform/e2e/auth.setup.ts:6:2
|
|
Run Tests
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
|
|
🎭 Playwright Run Summary
1 failed
[setup] › e2e/auth.setup.ts:5:6 › authenticate as chris ────────────────────────────────────────
20 did not run
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
test-results
Expired
|
1.63 MB |
sha256:e6db32cfd40eef47dfd7f27f3a347bfef2d7e5c057f20a0ef9db3acf2d0167d7
|
|