Code completion for jupyter lab/notebook #120
Annotations
5 errors, 1 warning, 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
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.28 MB |
|