Adds side panel widgets to the tracker #15
ui-tests.yml
on: pull_request
jupyterlab
9m 17s
notebook
3m 8s
Annotations
10 errors and 2 notices
tests/notifications.spec.ts:89:7 › #notifications › should receive notification on unread message:
ui-tests/tests/notifications.spec.ts#L1
1) tests/notifications.spec.ts:89:7 › #notifications › should receive notification on unread message
Test timeout of 60000ms exceeded.
|
tests/notifications.spec.ts:89:7 › #notifications › should receive notification on unread message:
ui-tests/tests/test-utils.ts#L51
1) tests/notifications.spec.ts:89:7 › #notifications › should receive notification on unread 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:89:7 › #notifications › should receive notification on unread message:
ui-tests/tests/notifications.spec.ts#L1
1) tests/notifications.spec.ts:89:7 › #notifications › should receive notification on unread message
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 60000ms exceeded.
|
tests/notifications.spec.ts:89:7 › #notifications › should receive notification on unread message:
ui-tests/tests/test-utils.ts#L61
1) tests/notifications.spec.ts:89:7 › #notifications › should receive notification on unread message
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.count: Target page, context or browser has been closed
at tests/test-utils.ts:61
59 | const currentCount = await panel
60 | ?.locator('.jp-chat-rendered-markdown')
> 61 | .count();
| ^
62 | const currentBodies = await panel
63 | ?.locator('.jp-chat-rendered-markdown')
64 | .allTextContents();
at /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/test-utils.ts:61:10
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:89:7 › #notifications › should receive notification on unread message:
ui-tests/tests/notifications.spec.ts#L1
1) tests/notifications.spec.ts:89:7 › #notifications › should receive notification on unread message
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 60000ms exceeded.
|
tests/notifications.spec.ts:89:7 › #notifications › should receive notification on unread message:
ui-tests/tests/test-utils.ts#L61
1) tests/notifications.spec.ts:89:7 › #notifications › should receive notification on unread message
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.count: Target page, context or browser has been closed
at tests/test-utils.ts:61
59 | const currentCount = await panel
60 | ?.locator('.jp-chat-rendered-markdown')
> 61 | .count();
| ^
62 | const currentBodies = await panel
63 | ?.locator('.jp-chat-rendered-markdown')
64 | .allTextContents();
at /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/test-utils.ts:61:10
at Timeout.check (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:183:33)
|
tests/chat-file.spec.ts:166:7 › #ychat › should add an id to the chat metadata:
ui-tests/tests/chat-file.spec.ts#L1
2) tests/chat-file.spec.ts:166:7 › #ychat › should add an id to the chat metadata ────────────────
Test timeout of 60000ms exceeded.
|
tests/chat-file.spec.ts:166:7 › #ychat › should add an id to the chat metadata:
ui-tests/http:/localhost:8888/static/lab/jlab_core.3e79afb39b563f309a5d.js?v=3e79afb39b563f309a5d#L1
2) 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.3e79afb39b563f309a5d.js?v=3e79afb39b563f309a5d:1:1434204)
at async m.get (http://localhost:8888/static/lab/jlab_core.3e79afb39b563f309a5d.js?v=3e79afb39b563f309a5d:1:1378993)
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.3e79afb39b563f309a5d.js?v=3e79afb39b563f309a5d:1:1434204)
at async m.get (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/http:/localhost:8888/static/lab/jlab_core.3e79afb39b563f309a5d.js?v=3e79afb39b563f309a5d:1:1378993)
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)
|
tests/commands.spec.ts:83:7 › #commandPalette › should open an existing chat:
ui-tests/tests/commands.spec.ts#L92
3) tests/commands.spec.ts:83:7 › #commandPalette › should open an existing chat ──────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('main').getByRole('tab', { name: 'my-chat.chat' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('main').getByRole('tab', { name: 'my-chat.chat' })
90 | .click();
91 | await fillModal(page, FILENAME);
> 92 | await expect(page.activity.getTabLocator(FILENAME)).toBeVisible();
| ^
93 | });
94 | });
95 |
at /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/commands.spec.ts:92:57
|
tests/send-message.spec.ts:202:7 › #sendMessages › should send with text selection:
ui-tests/tests/send-message.spec.ts#L242
4) tests/send-message.spec.ts:202:7 › #sendMessages › should send with text selection ────────────
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: 1
Received: 9
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 9 elements
- unexpected value "9"
- locator resolved to 9 elements
- unexpected value "9"
- locator resolved to 9 elements
- unexpected value "9"
- locator resolved to 9 elements
- unexpected value "9"
- locator resolved to 9 elements
- unexpected value "9"
- locator resolved to 9 elements
- unexpected value "9"
- locator resolved to 9 elements
- unexpected value "9"
- locator resolved to 9 elements
- unexpected value "9"
240 | await sendWithSelection.click();
241 |
> 242 | await expect(messages!.locator('.jp-chat-message')).toHaveCount(1);
| ^
243 |
244 | // It seems that the markdown renderer adds a new line, but the '\n' inserter when
245 | // pressing Enter above is trimmed.
at /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/send-message.spec.ts:242:57
|
🎭 Playwright Run Summary
2 passed (13.3s)
|
🎭 Playwright Run Summary
1 failed
tests/notifications.spec.ts:89:7 › #notifications › should receive notification on unread message
4 flaky
tests/chat-file.spec.ts:166:7 › #ychat › should add an id to the chat metadata ─────────────────
tests/commands.spec.ts:83:7 › #commandPalette › should open an existing chat ───────────────────
tests/send-message.spec.ts:202:7 › #sendMessages › should send with text selection ─────────────
tests/ui-config.spec.ts:255:7 › #typingNotification › should display several typing users ──────
86 passed (6.9m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
integration-jupyterlab
|
21.3 MB |
|
integration-notebook
|
189 KB |
|