Adds side panel widgets to the tracker #485
build.yml
on: pull_request
Build jupyter_chat
2m 33s
Typing test
2m 29s
Check Links
1m 30s
Matrix: test_extensions
Integration tests
8m 23s
Integration tests notebook
1m 20s
Annotations
10 errors, 13 warnings, and 2 notices
tests/chat-file.spec.ts:166:7 › #ychat › should add an id to the chat metadata:
ui-tests/tests/chat-file.spec.ts#L174
1) tests/chat-file.spec.ts:166:7 › #ychat › should add an id to the chat metadata ────────────────
SyntaxError: Unexpected end of JSON input
172 | const hasId = async () => {
173 | const model = await readFileContent(page, FILENAME);
> 174 | const content = JSON.parse(model.content) as ReadonlyJSONObject;
| ^
175 | return (
176 | content.metadata !== undefined &&
177 | (content.metadata as ReadonlyJSONObject).id !== undefined
at hasId (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/chat-file.spec.ts:174:28)
at Timeout.check (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:183:11)
|
tests/notifications.spec.ts:129:7 › #notifications › should update existing notification on new message:
ui-tests/tests/notifications.spec.ts#L1
2) tests/notifications.spec.ts:129:7 › #notifications › should update existing notification on new message
Test timeout of 60000ms exceeded.
|
tests/notifications.spec.ts:129:7 › #notifications › should update existing notification on new message:
ui-tests/tests/test-utils.ts#L51
2) tests/notifications.spec.ts:129:7 › #notifications › should update existing notification on new message
Error: locator.isChecked: Target page, context or browser has been closed
at tests/test-utils.ts:51
49 | const tabName = splitPath[splitPath.length - 1];
50 | await page.waitForCondition(
> 51 | async () => await page.activity.isTabActive(tabName)
| ^
52 | );
53 | panel = await page.activity.getPanelLocator(tabName);
54 |
at Object.isInSimpleMode (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:311:17)
at ActivityHelper.isTabActive (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/node_modules/@jupyterlab/galata/src/helpers/activity.ts:46:21)
at /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/test-utils.ts:51:37
at Timeout.check (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:183:33)
|
tests/notifications.spec.ts:129:7 › #notifications › should update existing notification on new message:
ui-tests/tests/notifications.spec.ts#L1
2) tests/notifications.spec.ts:129:7 › #notifications › should update existing notification on new message
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 60000ms exceeded.
|
tests/notifications.spec.ts:129:7 › #notifications › should update existing notification on new message:
ui-tests/tests/test-utils.ts#L51
2) tests/notifications.spec.ts:129:7 › #notifications › should update existing notification on new message
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.isChecked: Target page, context or browser has been closed
at tests/test-utils.ts:51
49 | const tabName = splitPath[splitPath.length - 1];
50 | await page.waitForCondition(
> 51 | async () => await page.activity.isTabActive(tabName)
| ^
52 | );
53 | panel = await page.activity.getPanelLocator(tabName);
54 |
at Object.isInSimpleMode (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:311:17)
at ActivityHelper.isTabActive (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/node_modules/@jupyterlab/galata/src/helpers/activity.ts:46:21)
at /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/test-utils.ts:51:37
at Timeout.check (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:183:33)
|
tests/notifications.spec.ts:155:7 › #notifications › should remove notifications from settings:
ui-tests/tests/notifications.spec.ts#L1
3) tests/notifications.spec.ts:155:7 › #notifications › should remove notifications from settings
Test timeout of 60000ms exceeded.
|
tests/notifications.spec.ts:155:7 › #notifications › should remove notifications from settings:
ui-tests/tests/test-utils.ts#L59
3) tests/notifications.spec.ts:155:7 › #notifications › should remove notifications from settings
Error: locator.count: Target page, context or browser has been closed
at tests/test-utils.ts:59
57 | await page.waitForCondition(async () => {
58 | const expectedCount = content.messages.length;
> 59 | const currentCount = await panel?.locator('.jp-chat-rendered-markdown').count();
| ^
60 | const currentBodies = await panel?.locator('.jp-chat-rendered-markdown').allTextContents();
61 | return expectedCount === currentCount && currentBodies!.every(value => value !== '');
62 | });
at /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/test-utils.ts:59:79
at Timeout.check (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:183:33)
|
tests/ui-config.spec.ts:217:7 › #typingNotification › should not display typing users if disabled:
ui-tests/tests/ui-config.spec.ts#L251
4) tests/ui-config.spec.ts:217:7 › #typingNotification › should not display typing users if disabled
Error: The typing notification should not be attached.
249 |
250 | if (visible) {
> 251 | throw Error('The typing notification should not be attached.');
| ^
252 | }
253 | });
254 |
at /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/ui-config.spec.ts:251:13
|
tests/ui-config.spec.ts:217:7 › #typingNotification › should not display typing users if disabled:
ui-tests/tests/ui-config.spec.ts#L245
4) tests/ui-config.spec.ts:217:7 › #typingNotification › should not display typing users if disabled
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.isVisible: Target page, context or browser has been closed
243 | let visible = true;
244 | try {
> 245 | await page.waitForCondition(() => writers.isVisible(), 3000);
| ^
246 | } catch {
247 | visible = false;
248 | }
at /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/ui-config.spec.ts:245:49
at Timeout.check (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:183:33)
|
tests/unread.spec.ts:56:9 › #messagesNavigation › navigation without unread message › should navigate to last message:
ui-tests/tests/unread.spec.ts#L1
5) tests/unread.spec.ts:56:9 › #messagesNavigation › navigation without unread message › should navigate to last message
Test timeout of 60000ms exceeded.
|
Check Links
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Typing test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build jupyter_chat
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Python unit tests (Python 3.9)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Python unit tests (Python 3.9)
Unexpected input(s) 'python-version', valid inputs are ['python_version', 'node_version', 'dependency_type']
|
Python unit tests (Python 3.9)
Unexpected input(s) 'python-version', valid inputs are ['python_version', 'node_version', 'dependency_type']
|
Python unit tests (Python 3.12)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Python unit tests (Python 3.12)
Unexpected input(s) 'python-version', valid inputs are ['python_version', 'node_version', 'dependency_type']
|
Python unit tests (Python 3.12)
Unexpected input(s) 'python-version', valid inputs are ['python_version', 'node_version', 'dependency_type']
|
Build chat extension
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Integration tests notebook
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "jupyterlab_chat-artifacts", "jupyterlab_chat-notebook-playwright-tests", "jupyterlab_chat-playwright-tests".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Integration tests
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 passed (12.2s)
|
🎭 Playwright Run Summary
5 flaky
tests/chat-file.spec.ts:166:7 › #ychat › should add an id to the chat metadata ─────────────────
tests/notifications.spec.ts:129:7 › #notifications › should update existing notification on new message
tests/notifications.spec.ts:155:7 › #notifications › should remove notifications from settings ─
tests/ui-config.spec.ts:217:7 › #typingNotification › should not display typing users if disabled
tests/unread.spec.ts:56:9 › #messagesNavigation › navigation without unread message › should navigate to last message
83 passed (7.0m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
jupyterlab_chat-artifacts
|
1.55 MB |
|
jupyterlab_chat-notebook-playwright-tests
|
436 KB |
|
jupyterlab_chat-playwright-tests
|
19.2 MB |
|