Skip to content

Handle Single Files and also enable html, pdf file formats for /learn #818

Handle Single Files and also enable html, pdf file formats for /learn

Handle Single Files and also enable html, pdf file formats for /learn #818

Triggered via pull request April 2, 2024 20:46
Status Failure
Total duration 4m 22s
Artifacts 1

e2e-tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 2 warnings, and 1 notice
tests/jupyter-ai.spec.ts:26:7 › Jupyter AI › shows chat welcome message: packages/jupyter-ai/ui-tests/tests/helpers/AIHelper.ts#L66
1) tests/jupyter-ai.spec.ts:26:7 › Jupyter AI › shows chat welcome message ─────────────────────── Error: Screenshot comparison failed: 11030 pixels (ratio 0.07 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/chat-welcome-message-linux.png Received: /home/runner/work/jupyter-ai/jupyter-ai/packages/jupyter-ai/ui-tests/test-results/tests-jupyter-ai-Jupyter-AI-shows-chat-welcome-message/chat-welcome-message-actual.png Diff: /home/runner/work/jupyter-ai/jupyter-ai/packages/jupyter-ai/ui-tests/test-results/tests-jupyter-ai-Jupyter-AI-shows-chat-welcome-message/chat-welcome-message-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:27:5
Linux
Process completed with exit code 1.
Linux
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-python@v4, actions/cache@v3, actions/setup-node@v3, actions/cache@v2, actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Linux
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
🎭 Playwright Run Summary
1 failed tests/jupyter-ai.spec.ts:26:7 › Jupyter AI › shows chat welcome message ──────────────────────── 1 passed (13.8s)

Artifacts

Produced during runtime
Name Size
jupyter-ai-playwright-tests-linux Expired
661 KB