Skip to content

Make Jupyternaut reply for API auth errors user-friendly #392

Make Jupyternaut reply for API auth errors user-friendly

Make Jupyternaut reply for API auth errors user-friendly #392

Triggered via pull request December 19, 2023 23:01
Status Failure
Total duration 4m 24s
Artifacts 1

e2e-tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 1 warning, 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: 11148 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
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 (11.7s)

Artifacts

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