Skip to content

Remove v2 frontend components #1884

Remove v2 frontend components

Remove v2 frontend components #1884

Triggered via pull request December 19, 2024 11:27
Status Failure
Total duration 5m 28s
Artifacts 1

e2e-tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 2 warnings, and 1 notice
tests/jupyter-ai.spec.ts:22:7 › Jupyter AI › shows sidebar chat icon: packages/jupyter-ai/ui-tests/tests/helpers/AIHelper.ts#L66
1) tests/jupyter-ai.spec.ts:22:7 › Jupyter AI › shows sidebar chat icon ────────────────────────── Error: Screenshot comparison failed: 91 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/jupyter-ai/jupyter-ai/packages/jupyter-ai/ui-tests/tests/jupyter-ai.spec.ts-snapshots/sidebar-linux.png Received: /home/runner/work/jupyter-ai/jupyter-ai/packages/jupyter-ai/ui-tests/test-results/tests-jupyter-ai-Jupyter-AI-shows-sidebar-chat-icon/sidebar-actual.png Diff: /home/runner/work/jupyter-ai/jupyter-ai/packages/jupyter-ai/ui-tests/test-results/tests-jupyter-ai-Jupyter-AI-shows-sidebar-chat-icon/sidebar-diff.png at tests/helpers/AIHelper.ts:66 64 | const target = opts.locator ?? (this.openChatPanel(), this.chat); 65 | await target.waitFor({ state: 'visible' }); > 66 | expect(await target.screenshot()).toMatchSnapshot(filename); | ^ 67 | } 68 | } 69 | at AIHelper.assertSnapshot (/home/runner/work/jupyter-ai/jupyter-ai/packages/jupyter-ai/ui-tests/tests/helpers/AIHelper.ts:66:39) at /home/runner/work/jupyter-ai/jupyter-ai/packages/jupyter-ai/ui-tests/tests/jupyter-ai.spec.ts:23:5
tests/jupyter-ai.spec.ts:26:7 › Jupyter AI › shows chat welcome message: packages/jupyter-ai/ui-tests/tests/jupyter-ai.spec.ts#L1
2) tests/jupyter-ai.spec.ts:26:7 › Jupyter AI › shows chat welcome message ─────────────────────── Test timeout of 60000ms exceeded.
tests/jupyter-ai.spec.ts:26:7 › Jupyter AI › shows chat welcome message: packages/jupyter-ai/ui-tests/tests/helpers/AIHelper.ts#L65
2) tests/jupyter-ai.spec.ts:26:7 › Jupyter AI › shows chat welcome message ─────────────────────── Error: locator.waitFor: Page closed =========================== logs =========================== waiting for locator('#jupyter-ai\\:\\:chat') to be visible ============================================================ at tests/helpers/AIHelper.ts:65 63 | const opts: SnapshotOptions = { ...customOpts }; 64 | const target = opts.locator ?? (this.openChatPanel(), this.chat); > 65 | await target.waitFor({ state: 'visible' }); | ^ 66 | expect(await target.screenshot()).toMatchSnapshot(filename); 67 | } 68 | } at AIHelper.assertSnapshot (/home/runner/work/jupyter-ai/jupyter-ai/packages/jupyter-ai/ui-tests/tests/helpers/AIHelper.ts:65:18) at /home/runner/work/jupyter-ai/jupyter-ai/packages/jupyter-ai/ui-tests/tests/jupyter-ai.spec.ts:27:14
tests/jupyter-ai.spec.ts:26:7 › Jupyter AI › shows chat welcome message: packages/jupyter-ai/ui-tests/tests/jupyter-ai.spec.ts#L1
2) tests/jupyter-ai.spec.ts:26:7 › Jupyter AI › shows chat welcome message ─────────────────────── Pending operations: - locator.waitFor at tests/helpers/AIHelper.ts:65:18 - locator.click at tests/helpers/AIHelper.ts:50:27
Linux
Process completed with exit code 1.
Linux
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
Linux
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
2 failed tests/jupyter-ai.spec.ts:22:7 › Jupyter AI › shows sidebar chat icon ─────────────────────────── tests/jupyter-ai.spec.ts:26:7 › Jupyter AI › shows chat welcome message ────────────────────────

Artifacts

Produced during runtime
Name Size
jupyter-ai-playwright-tests-linux
1.44 MB