Skip to content

Playwright

Playwright #2361

Triggered via deployment status January 8, 2025 17:23
Status Failure
Total duration 5m 25s
Artifacts

playwright.yml

on: deployment_status
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 8 warnings, and 1 notice
[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
1) [No persona] › tests/modifiy-lesson.test.ts:24:7 › Modify a lesson plan › Modify a lesson resource › Add additional material › Wait for generation Test timeout of ***0000ms exceeded.
[No persona] › tests/modifiy-lesson.test.ts:24:7 › Modify a lesson plan › Modify a lesson resource: apps/nextjs/tests-e2e/tests/aila-chat/helpers.ts#L12
1) [No persona] › tests/modifiy-lesson.test.ts:24:7 › Modify a lesson plan › Modify a lesson resource › Add additional material › Wait for generation Error: expect(locator).toContainText(expected) Locator: getByTestId('chat-aila-streaming-status') Expected string: "Idle" Received string: "RequestMade" Call log: - expect.toContainText with timeout 50000ms - waiting for getByTestId('chat-aila-streaming-status') - locator resolved to <div data-testid="chat-aila-streaming-status">RequestMade</div> - unexpected value "RequestMade" - locator resolved to <div data-testid="chat-aila-streaming-status">RequestMade</div> - unexpected value "RequestMade" - locator resolved to <div data-testid="chat-aila-streaming-status">RequestMade</div> - unexpected value "RequestMade" - locator resolved to <div data-testid="chat-aila-streaming-status">RequestMade</div> - unexpected value "RequestMade" - locator resolved to <div data-testid="chat-aila-streaming-status">RequestMade</div> - unexpected value "RequestMade" at tests/aila-chat/helpers.ts:12 10 | ) { 11 | const statusElement = page.getByTestId("chat-aila-streaming-status"); > 12 | await expect(statusElement).toContainText(status, args); | ^ 1*** | } 14 | 15 | export async function waitForStreamingStatusChange( at expectStreamingStatus (/home/runner/work/oak-ai-lesson-assistant/oak-ai-lesson-assistant/apps/nextjs/tests-e2e/tests/aila-chat/helpers.ts:12:***1) at /home/runner/work/oak-ai-lesson-assistant/oak-ai-lesson-assistant/apps/nextjs/tests-e2e/tests/aila-chat/helpers.ts:45:11 at waitForGeneration (/home/runner/work/oak-ai-lesson-assistant/oak-ai-lesson-assistant/apps/nextjs/tests-e2e/tests/aila-chat/helpers.ts:4***:10) at selectAdditionalResource (/home/runner/work/oak-ai-lesson-assistant/oak-ai-lesson-assistant/apps/nextjs/tests-e2e/tests/modifiy-lesson.test.ts:88:5) at /home/runner/work/oak-ai-lesson-assistant/oak-ai-lesson-assistant/apps/nextjs/tests-e2e/tests/modifiy-lesson.test.ts:***6:7 at /home/runner/work/oak-ai-lesson-assistant/oak-ai-lesson-assistant/apps/nextjs/tests-e2e/tests/modifiy-lesson.test.ts:***5:5
[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
1) [No persona] › tests/modifiy-lesson.test.ts:24:7 › Modify a lesson plan › Modify a lesson resource › Add additional material › Wait for generation Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of ***0000ms exceeded.
[No persona] › tests/modifiy-lesson.test.ts:24:7 › Modify a lesson plan › Modify a lesson resource: apps/nextjs/tests-e2e/tests/aila-chat/helpers.ts#L12
1) [No persona] › tests/modifiy-lesson.test.ts:24:7 › Modify a lesson plan › Modify a lesson resource › Add additional material › Wait for generation Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toContainText(expected) Locator: getByTestId('chat-aila-streaming-status') Expected string: "Idle" Received string: "RequestMade" Call log: - expect.toContainText with timeout 50000ms - waiting for getByTestId('chat-aila-streaming-status') - locator resolved to <div data-testid="chat-aila-streaming-status">RequestMade</div> - unexpected value "RequestMade" - locator resolved to <div data-testid="chat-aila-streaming-status">RequestMade</div> - unexpected value "RequestMade" - locator resolved to <div data-testid="chat-aila-streaming-status">RequestMade</div> - unexpected value "RequestMade" - locator resolved to <div data-testid="chat-aila-streaming-status">RequestMade</div> - unexpected value "RequestMade" - locator resolved to <div data-testid="chat-aila-streaming-status">RequestMade</div> - unexpected value "RequestMade" at tests/aila-chat/helpers.ts:12 10 | ) { 11 | const statusElement = page.getByTestId("chat-aila-streaming-status"); > 12 | await expect(statusElement).toContainText(status, args); | ^ 1*** | } 14 | 15 | export async function waitForStreamingStatusChange( at expectStreamingStatus (/home/runner/work/oak-ai-lesson-assistant/oak-ai-lesson-assistant/apps/nextjs/tests-e2e/tests/aila-chat/helpers.ts:12:***1) at /home/runner/work/oak-ai-lesson-assistant/oak-ai-lesson-assistant/apps/nextjs/tests-e2e/tests/aila-chat/helpers.ts:45:11 at waitForGeneration (/home/runner/work/oak-ai-lesson-assistant/oak-ai-lesson-assistant/apps/nextjs/tests-e2e/tests/aila-chat/helpers.ts:4***:10) at selectAdditionalResource (/home/runner/work/oak-ai-lesson-assistant/oak-ai-lesson-assistant/apps/nextjs/tests-e2e/tests/modifiy-lesson.test.ts:88:5) at /home/runner/work/oak-ai-lesson-assistant/oak-ai-lesson-assistant/apps/nextjs/tests-e2e/tests/modifiy-lesson.test.ts:***6:7 at /home/runner/work/oak-ai-lesson-assistant/oak-ai-lesson-assistant/apps/nextjs/tests-e2e/tests/modifiy-lesson.test.ts:***5:5
test-e2e
Process completed with exit code 1.
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
Slow Test: apps/nextjs/[Common persona] › tests/aila-chat/full-romans.test.ts#L1
apps/nextjs/[Common persona] › tests/aila-chat/full-romans.test.ts took 1.5m
Slow Test: apps/nextjs/[Common persona - mobile] › tests/aila-chat/full-romans.mobile.test.ts#L1
apps/nextjs/[Common persona - mobile] › tests/aila-chat/full-romans.mobile.test.ts took 58.9s
Slow Test: apps/nextjs/[No persona] › tests/onboarding.test.ts#L1
apps/nextjs/[No persona] › tests/onboarding.test.ts took 27.8s
Slow Test: apps/nextjs/[No persona] › tests/aila-chat/rate-limiting.test.ts#L1
apps/nextjs/[No persona] › tests/aila-chat/rate-limiting.test.ts took 24.9s
Slow Test: apps/nextjs/[No persona] › tests/banned-users.test.ts#L1
apps/nextjs/[No persona] › tests/banned-users.test.ts took 21.8s
test-e2e
Can't add secret mask for empty string in ##[add-mask] command.
🎭 Playwright Run Summary
1 failed [No persona] › tests/modifiy-lesson.test.ts:24:7 › Modify a lesson plan › Modify a lesson resource 2 skipped 17 passed (***.2m)