Playwright #754
Triggered via deployment status
September 23, 2024 12:08
vercel[bot]
created
da7a279
Status
Failure
Total duration
1m 51s
Artifacts
2
Annotations
5 errors, 2 warnings, and 1 notice
[auth-setup] › config/ui-auth.setup.ts:32:6 › authenticate through UI setup:
apps/nextjs/tests-e2e/config/ui-auth.setup.ts#L38
1) [auth-setup] › config/ui-auth.setup.ts:***2:6 › authenticate through UI setup ───────────────────
Error: page.goto: net::ERR_TOO_MANY_REDIRECTS at https://oak-ai-lesson-assistant-bwmeumi2k.vercel-preview.thenational.academy/
Call log:
- navigating to "https://oak-ai-lesson-assistant-bwmeumi2k.vercel-preview.thenational.academy/", waiting until "load"
***6 | await page.context().clearCookies();
***7 |
> ***8 | await page.goto(TEST_BASE_URL);
| ^
***9 |
40 | await setupClerkTestingToken({ page });
41 |
at /home/runner/work/oak-ai-lesson-assistant/oak-ai-lesson-assistant/apps/nextjs/tests-e2e/config/ui-auth.setup.ts:***8:14
|
[public] › tests/aila-chat.test.ts:25:7 › Unauthenticated › redirects to /sign-in:
apps/nextjs/tests-e2e/tests/aila-chat.test.ts#L27
2) [public] › tests/aila-chat.test.ts:25:7 › Unauthenticated › redirects to /sign-in ─────────────
Error: page.goto: net::ERR_TOO_MANY_REDIRECTS at https://oak-ai-lesson-assistant-bwmeumi2k.vercel-preview.thenational.academy/aila
Call log:
- navigating to "https://oak-ai-lesson-assistant-bwmeumi2k.vercel-preview.thenational.academy/aila", waiting until "load"
25 | test("redirects to /sign-in", async ({ page }) => {
26 | await bypassVercelProtection(page);
> 27 | await page.goto(`${TEST_BASE_URL}/aila`);
| ^
28 | await expect(page.locator("h1")).toContainText("Sign in");
29 | });
***0 | });
at /home/runner/work/oak-ai-lesson-assistant/oak-ai-lesson-assistant/apps/nextjs/tests-e2e/tests/aila-chat.test.ts:27:16
|
[public] › tests/public.test.ts:6:5 › / loads:
apps/nextjs/tests-e2e/tests/public.test.ts#L9
***) [public] › tests/public.test.ts:6:5 › / loads ─────────────────────────────────────────────────
Error: page.goto: net::ERR_TOO_MANY_REDIRECTS at https://oak-ai-lesson-assistant-bwmeumi2k.vercel-preview.thenational.academy/
Call log:
- navigating to "https://oak-ai-lesson-assistant-bwmeumi2k.vercel-preview.thenational.academy/", waiting until "load"
7 | await bypassVercelProtection(page);
8 |
> 9 | await page.goto(`${TEST_BASE_URL}/`);
| ^
10 | await expect(
11 | page.getByRole("heading", { name: "Introducing Aila" }),
12 | ).toBeInViewport();
at /home/runner/work/oak-ai-lesson-assistant/oak-ai-lesson-assistant/apps/nextjs/tests-e2e/tests/public.test.ts:9:14
|
test-e2e
Tests failed
|
test-e2e
Process completed with exit code 1.
|
test-e2e
Failed to restore: Cache service responded with 403
|
test-e2e
Can't add secret mask for empty string in ##[add-mask] command.
|
🎭 Playwright Run Summary
*** failed
[auth-setup] › config/ui-auth.setup.ts:***2:6 › authenticate through UI setup ────────────────────
[public] › tests/aila-chat.test.ts:25:7 › Unauthenticated › redirects to /sign-in ──────────────
[public] › tests/public.test.ts:6:5 › / loads ──────────────────────────────────────────────────
*** did not run
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-failure-screenshots
Expired
|
39.8 KB |
|
playwright-report
Expired
|
537 KB |
|