Handle single files, pdfs, errors from missing loader dependencies in /learn
#859
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
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
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
Expired
|
2.16 MB |
|