Skip to content

Playwright

Playwright #2211

Triggered via deployment status December 11, 2024 11:34
Status Failure
Total duration 2m 3s
Artifacts

playwright.yml

on: deployment_status
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 3 warnings, and 1 notice
test-e2e
Testing stopped early after 10 maximum allowed failures.
[common-persona-setup] › config/common-persona.setup.ts:21:6 › prepare common user with 'typical' variant: apps/nextjs/tests-e2e/config/common-persona.setup.ts#L1
1) [common-persona-setup] › config/common-persona.setup.ts:21:6 › prepare common user with 'typical' variant TRPCClientError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON at Function.from (/home/runner/work/oak-ai-lesson-assistant/oak-ai-lesson-assistant/node_modules/@trpc/client/dist/TRPCClientError-7e0c***1e7.js:40:16) at /home/runner/work/oak-ai-lesson-assistant/oak-ai-lesson-assistant/node_modules/@trpc/client/dist/httpUtils-4429f***6e.js:1***0:52
[common-persona-setup] › config/common-persona.setup.ts:21:6 › prepare common user with 'typical' variant: apps/nextjs/tests-e2e/config/common-persona.setup.ts#L1
1) [common-persona-setup] › config/common-persona.setup.ts:21:6 › prepare common user with 'typical' variant Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TRPCClientError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON at Function.from (/home/runner/work/oak-ai-lesson-assistant/oak-ai-lesson-assistant/node_modules/@trpc/client/dist/TRPCClientError-7e0c***1e7.js:40:16) at /home/runner/work/oak-ai-lesson-assistant/oak-ai-lesson-assistant/node_modules/@trpc/client/dist/httpUtils-4429f***6e.js:1***0:52
[No persona] › tests/aila-chat/rate-limiting.test.ts:10:5 › User is restricted after message rate limit is reached: apps/nextjs/tests-e2e/tests/aila-chat/rate-limiting.test.ts#L1
2) [No persona] › tests/aila-chat/rate-limiting.test.ts:10:5 › User is restricted after message rate limit is reached › Setup › Prepare user TRPCClientError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON at Function.from (/home/runner/work/oak-ai-lesson-assistant/oak-ai-lesson-assistant/node_modules/@trpc/client/dist/TRPCClientError-7e0c***1e7.js:40:16) at /home/runner/work/oak-ai-lesson-assistant/oak-ai-lesson-assistant/node_modules/@trpc/client/dist/httpUtils-4429f***6e.js:1***0:52
[No persona] › tests/aila-chat/rate-limiting.test.ts:10:5 › User is restricted after message rate limit is reached: apps/nextjs/tests-e2e/tests/aila-chat/rate-limiting.test.ts#L1
2) [No persona] › tests/aila-chat/rate-limiting.test.ts:10:5 › User is restricted after message rate limit is reached › Setup › Prepare user Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TRPCClientError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON at Function.from (/home/runner/work/oak-ai-lesson-assistant/oak-ai-lesson-assistant/node_modules/@trpc/client/dist/TRPCClientError-7e0c***1e7.js:40:16) at /home/runner/work/oak-ai-lesson-assistant/oak-ai-lesson-assistant/node_modules/@trpc/client/dist/httpUtils-4429f***6e.js:1***0:52
[No persona] › tests/banned-users.test.ts:10:5 › Users are banned after 3 toxic lessons: apps/nextjs/tests-e2e/tests/banned-users.test.ts#L1
***) [No persona] › tests/banned-users.test.ts:10:5 › Users are banned after *** toxic lessons › Setup › Prepare user TRPCClientError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON at Function.from (/home/runner/work/oak-ai-lesson-assistant/oak-ai-lesson-assistant/node_modules/@trpc/client/dist/TRPCClientError-7e0c***1e7.js:40:16) at /home/runner/work/oak-ai-lesson-assistant/oak-ai-lesson-assistant/node_modules/@trpc/client/dist/httpUtils-4429f***6e.js:1***0:52
[No persona] › tests/banned-users.test.ts:10:5 › Users are banned after 3 toxic lessons: apps/nextjs/tests-e2e/tests/banned-users.test.ts#L1
***) [No persona] › tests/banned-users.test.ts:10:5 › Users are banned after *** toxic lessons › Setup › Prepare user Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TRPCClientError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON at Function.from (/home/runner/work/oak-ai-lesson-assistant/oak-ai-lesson-assistant/node_modules/@trpc/client/dist/TRPCClientError-7e0c***1e7.js:40:16) at /home/runner/work/oak-ai-lesson-assistant/oak-ai-lesson-assistant/node_modules/@trpc/client/dist/httpUtils-4429f***6e.js:1***0:52
[No persona] › tests/demo-accounts.test.ts:8:7 › Demo accounts › should see the demo banner: apps/nextjs/tests-e2e/tests/demo-accounts.test.ts#L1
4) [No persona] › tests/demo-accounts.test.ts:8:7 › Demo accounts › should see the demo banner › Prepare user TRPCClientError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON at Function.from (/home/runner/work/oak-ai-lesson-assistant/oak-ai-lesson-assistant/node_modules/@trpc/client/dist/TRPCClientError-7e0c***1e7.js:40:16) at /home/runner/work/oak-ai-lesson-assistant/oak-ai-lesson-assistant/node_modules/@trpc/client/dist/httpUtils-4429f***6e.js:1***0:52
[No persona] › tests/demo-accounts.test.ts:8:7 › Demo accounts › should see the demo banner: apps/nextjs/tests-e2e/tests/demo-accounts.test.ts#L1
4) [No persona] › tests/demo-accounts.test.ts:8:7 › Demo accounts › should see the demo banner › Prepare user Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TRPCClientError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON at Function.from (/home/runner/work/oak-ai-lesson-assistant/oak-ai-lesson-assistant/node_modules/@trpc/client/dist/TRPCClientError-7e0c***1e7.js:40:16) at /home/runner/work/oak-ai-lesson-assistant/oak-ai-lesson-assistant/node_modules/@trpc/client/dist/httpUtils-4429f***6e.js:1***0:52
[No persona] › tests/modifiy-lesson.test.ts:24:7 › Modify a lesson plan › Modify a lesson resource: apps/nextjs/tests-e2e/tests/modifiy-lesson.test.ts#L1
5) [No persona] › tests/modifiy-lesson.test.ts:24:7 › Modify a lesson plan › Modify a lesson resource TRPCClientError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON at Function.from (/home/runner/work/oak-ai-lesson-assistant/oak-ai-lesson-assistant/node_modules/@trpc/client/dist/TRPCClientError-7e0c***1e7.js:40:16) at /home/runner/work/oak-ai-lesson-assistant/oak-ai-lesson-assistant/node_modules/@trpc/client/dist/httpUtils-4429f***6e.js:1***0:52
test-e2e
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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
5 failed [common-persona-setup] › config/common-persona.setup.ts:21:6 › prepare common user with 'typical' variant [No persona] › tests/aila-chat/rate-limiting.test.ts:10:5 › User is restricted after message rate limit is reached [No persona] › tests/banned-users.test.ts:10:5 › Users are banned after *** toxic lessons ──────── [No persona] › tests/demo-accounts.test.ts:8:7 › Demo accounts › should see the demo banner ──── [No persona] › tests/modifiy-lesson.test.ts:24:7 › Modify a lesson plan › Modify a lesson resource 1 interrupted [No persona] › tests/public.test.ts:6:5 › / loads ────────────────────────────────────────────── 1 skipped 7 did not run 2 passed (11.4s)