Don't render deleted messages #226
Annotations
8 errors and 1 notice
|
ui-tests/tests/test-utils.ts#L51
4) tests/ui-config.spec.ts:201:7 › #typingNotification › should display typing user ──────────────
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)
|
|
ui-tests/tests/ui-config.spec.ts#L0
4) tests/ui-config.spec.ts:201:7 › #typingNotification › should display typing user ──────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 60000ms exceeded.
|
|
ui-tests/tests/test-utils.ts#L51
4) tests/ui-config.spec.ts:201: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)
|
|
ui-tests/tests/ui-config.spec.ts#L0
4) tests/ui-config.spec.ts:201:7 › #typingNotification › should display typing user ──────────────
Test timeout of 60000ms exceeded.
|
|
ui-tests/tests/side-panel.spec.ts#L243
3) tests/side-panel.spec.ts:191:9 › #sidepanel › #openingClosing › should list existing chat in default directory
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('.jp-SidePanel.jp-lab-chat-sidepanel').first().locator('.jp-SidePanel-toolbar .jp-Toolbar-item.jp-lab-chat-open select').locator('option')
Expected: 2
Received: 1
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('.jp-SidePanel.jp-lab-chat-sidepanel').first().locator('.jp-SidePanel-toolbar .jp-Toolbar-item.jp-lab-chat-open select').locator('option')
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
241 | );
242 |
> 243 | await expect(select.locator('option')).toHaveCount(2);
| ^
244 | await expect(select.locator('option').last()).toHaveText(name);
245 | });
246 | });
at /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/side-panel.spec.ts:243:46
|
|
ui-tests/tests/message-toolbar.spec.ts#L139
2) tests/message-toolbar.spec.ts:132:7 › #messageToolbar › should not render deleted message ─────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 1
Received: 0
137 | .locator('.jp-chat-message')
138 | .count();
> 139 | expect(messageCountBefore).toBe(1);
| ^
140 |
141 | const message = messagesContainer.locator('.jp-chat-message').first();
142 | const messageContent = message.locator('.jp-chat-rendered-markdown');
at /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/message-toolbar.spec.ts:139:32
|
|
ui-tests/tests/chat-file.spec.ts#L32
1) tests/chat-file.spec.ts:166:7 › #ychat › should add an id to the chat metadata ────────────────
Error: proxy.evaluate: Test timeout of 60000ms exceeded.
30 | filename: string
31 | ): Promise<Contents.IModel> => {
> 32 | return await page.evaluate(async filepath => {
| ^
33 | return await window.jupyterapp.serviceManager.contents.get(filepath);
34 | }, filename);
35 | };
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)
|
|
ui-tests/tests/chat-file.spec.ts#L0
1) tests/chat-file.spec.ts:166:7 › #ychat › should add an id to the chat metadata ────────────────
Test timeout of 60000ms exceeded.
|
|
4 flaky
tests/chat-file.spec.ts:166:7 › #ychat › should add an id to the chat metadata ─────────────────
tests/message-toolbar.spec.ts:132:7 › #messageToolbar › should not render deleted message ──────
tests/side-panel.spec.ts:191:9 › #sidepanel › #openingClosing › should list existing chat in default directory
tests/ui-config.spec.ts:201:7 › #typingNotification › should display typing user ───────────────
1 skipped
85 passed (6.4m)
|
The logs for this run have expired and are no longer available.
Loading