Export components from @jupyter/chat (#132) #468
Annotations
7 errors, 2 warnings, and 1 notice
Execute integration tests:
ui-tests/tests/chat-file.spec.ts#L1
1) tests/chat-file.spec.ts:166:7 › #ychat › should add an id to the chat metadata ────────────────
Test timeout of 60000ms exceeded.
|
Execute integration tests:
ui-tests/http:/localhost:8888/static/lab/jlab_core.9ae09eead5139c587af4.js?v=9ae09eead5139c587af4#L1
1) tests/chat-file.spec.ts:166:7 › #ychat › should add an id to the chat metadata ────────────────
Error: proxy.evaluate: Error: Invalid response: 404 Not Found
at i.create (http://localhost:8888/static/lab/jlab_core.9ae09eead5139c587af4.js?v=9ae09eead5139c587af4:1:1432098)
at async m.get (http://localhost:8888/static/lab/jlab_core.9ae09eead5139c587af4.js?v=9ae09eead5139c587af4:1:1376887)
at async eval (eval at evaluate (:226:30), <anonymous>:2:12)
at async <anonymous>:252:30
at i.create (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/http:/localhost:8888/static/lab/jlab_core.9ae09eead5139c587af4.js?v=9ae09eead5139c587af4:1:1432098)
at async m.get (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/http:/localhost:8888/static/lab/jlab_core.9ae09eead5139c587af4.js?v=9ae09eead5139c587af4:1:1376887)
at async eval (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/eval at evaluate (:226:30), <anonymous>:2:12)
at /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/async <anonymous>:252:30
at readFileContent (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/chat-file.spec.ts:32:21)
at hasId (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/chat-file.spec.ts:173:27)
at Timeout.check (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:183:33)
|
Execute integration tests:
ui-tests/tests/message-toolbar.spec.ts#L1
2) tests/message-toolbar.spec.ts:96:7 › #messageToolbar › should cancel message edition ──────────
Test timeout of 60000ms exceeded.
|
Execute integration tests:
ui-tests/tests/message-toolbar.spec.ts#L104
2) tests/message-toolbar.spec.ts:96:7 › #messageToolbar › should cancel message edition ──────────
Error: locator.hover: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByRole('main').getByRole('tabpanel', { name: 'my-chat.chat' }).locator('.jp-chat-messages-container .jp-chat-message').first().locator('.jp-chat-rendered-markdown')
102 |
103 | // Should display the message toolbar
> 104 | await messageContent.hover({ position: { x: 5, y: 5 } });
| ^
105 | await messageContent.locator('.jp-chat-toolbar jp-button').first().click();
106 |
107 | await expect(messageContent).not.toBeVisible();
at /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/message-toolbar.spec.ts:104:26
|
Execute integration tests:
ui-tests/tests/ui-config.spec.ts#L143
3) tests/ui-config.spec.ts:115:7 › #stackedMessages › should update settings value stackMessages on existing chat
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: getByRole('main').getByRole('tabpanel', { name: 'my-chat.chat' }).locator('.jp-chat-messages-container').locator('.jp-chat-message')
Expected: 2
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for getByRole('main').getByRole('tabpanel', { name: 'my-chat.chat' }).locator('.jp-chat-messages-container').locator('.jp-chat-message')
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
141 | const messagesContainer = chatPanel.locator('.jp-chat-messages-container');
142 | const messages = messagesContainer.locator('.jp-chat-message');
> 143 | await expect(messages).toHaveCount(2);
| ^
144 |
145 | // Hide the time to avoid time zone diff
146 | await messages
at /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/ui-config.spec.ts:143:28
|
Execute integration tests:
ui-tests/tests/ui-config.spec.ts#L1
4) tests/ui-config.spec.ts:198:7 › #typingNotification › should display typing user ──────────────
Test timeout of 60000ms exceeded.
|
Execute integration tests:
ui-tests/tests/test-utils.ts#L51
4) tests/ui-config.spec.ts:198:7 › #typingNotification › should display typing user ──────────────
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)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
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/
|
Execute integration tests
4 flaky
tests/chat-file.spec.ts:166:7 › #ychat › should add an id to the chat metadata ─────────────────
tests/message-toolbar.spec.ts:96:7 › #messageToolbar › should cancel message edition ───────────
tests/ui-config.spec.ts:115:7 › #stackedMessages › should update settings value stackMessages on existing chat
tests/ui-config.spec.ts:198:7 › #typingNotification › should display typing user ───────────────
84 passed (5.9m)
|
Loading