Skip to content

Bump glob in /ui-tests in the npm_and_yarn group across 1 directory (… #445

Bump glob in /ui-tests in the npm_and_yarn group across 1 directory (…

Bump glob in /ui-tests in the npm_and_yarn group across 1 directory (… #445

Triggered via push November 21, 2025 08:49
Status Success
Total duration 10m 26s
Artifacts 2

ui-tests.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 notices
tests/user-mention.spec.ts:104:7 › #user-mention › should not be case sensitive: ui-tests/tests/user-mention.spec.ts#L116
5) tests/user-mention.spec.ts:104:7 › #user-mention › should not be case sensitive ─────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected) Locator: locator('.jp-chat-command-name') Expected: 1 Received: 2 Call log: - expect.toHaveCount with timeout 5000ms - waiting for locator('.jp-chat-command-name') - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" 114 | 115 | await input.pressSequentially('@jo'); > 116 | await expect(chatCommandName).toHaveCount(1); | ^ 117 | expect(await chatCommandName.nth(0).textContent()).toBe('@jovyan_2'); 118 | }); 119 | }); at /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/user-mention.spec.ts:116:35
tests/unread.spec.ts:192:9 › #messagesNavigation › navigation with new unread message › should navigate to new unread message: ui-tests/tests/test-utils.ts#L75
4) tests/unread.spec.ts:192:9 › #messagesNavigation › navigation with new unread message › should navigate to new unread message Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.count: Target page, context or browser has been closed at tests/test-utils.ts:75 73 | const currentCount = await panel 74 | ?.locator('.jp-chat-rendered-markdown') > 75 | .count(); | ^ 76 | const currentBodies = await panel 77 | ?.locator('.jp-chat-rendered-markdown') 78 | .allTextContents(); at /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/test-utils.ts:75:10 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:192:9 › #messagesNavigation › navigation with new unread message › should navigate to new unread message: ui-tests/tests/unread.spec.ts#L0
4) tests/unread.spec.ts:192:9 › #messagesNavigation › navigation with new unread message › should navigate to new unread message Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 60000ms exceeded.
tests/unread.spec.ts:192:9 › #messagesNavigation › navigation with new unread message › should navigate to new unread message: ui-tests/tests/test-utils.ts#L65
4) tests/unread.spec.ts:192:9 › #messagesNavigation › navigation with new unread message › should navigate to new unread message Error: locator.isChecked: Target page, context or browser has been closed at tests/test-utils.ts:65 63 | const tabName = splitPath[splitPath.length - 1]; 64 | await page.waitForCondition( > 65 | async () => await page.activity.isTabActive(tabName) | ^ 66 | ); 67 | panel = await page.activity.getPanelLocator(tabName); 68 | 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:65:37 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:192:9 › #messagesNavigation › navigation with new unread message › should navigate to new unread message: ui-tests/tests/unread.spec.ts#L0
4) tests/unread.spec.ts:192:9 › #messagesNavigation › navigation with new unread message › should navigate to new unread message Test timeout of 60000ms exceeded.
tests/ui-config.spec.ts:97:7 › #stackedMessages › messages should be stacked by default: ui-tests/tests/ui-config.spec.ts#L101
3) tests/ui-config.spec.ts:97:7 › #stackedMessages › messages should be stacked by default ─────── 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" - locator resolved to 0 elements - unexpected value "0" 99 | const messagesContainer = chatPanel.locator('.jp-chat-messages-container'); 100 | const messages = messagesContainer.locator('.jp-chat-message'); > 101 | await expect(messages).toHaveCount(2); | ^ 102 | 103 | // Hide the time to avoid time zone diff 104 | await messages at /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/ui-config.spec.ts:101:28
tests/side-panel.spec.ts:177:9 › #sidepanel › #openingClosing › should attach a spinner while loading the chat: ui-tests/tests/side-panel.spec.ts#L182
2) tests/side-panel.spec.ts:177:9 › #sidepanel › #openingClosing › should attach a spinner while loading the chat Error: locator.selectOption: Test timeout of 60000ms exceeded. Call log: - waiting for locator('.jp-SidePanel.jp-chat-sidepanel').first().locator('.jp-SidePanel-toolbar .jp-Toolbar-item.jp-chat-open select') - locator resolved to <select>…</select> - attempting select option action - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #1 - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #2 - waiting 20ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #3 - waiting 100ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #4 - waiting 100ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #5 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #6 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #7 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #8 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #9 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #10 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #11 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #12 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #13 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #14 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #15 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #16 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #17 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #18 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #19 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #20 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #21 - waiting 500ms - waiting for element to be visible and enabled - did not find some options - retrying select option action, attempt #22 - waiting 500ms - waiting for elemen
tests/side-panel.spec.ts:177:9 › #sidepanel › #openingClosing › should attach a spinner while loading the chat: ui-tests/tests/side-panel.spec.ts#L0
2) tests/side-panel.spec.ts:177:9 › #sidepanel › #openingClosing › should attach a spinner while loading the chat Test timeout of 60000ms exceeded.
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)
jupyterlab
Event loop is closed
🎭 Playwright Run Summary
2 passed (14.8s)
🎭 Playwright Run Summary
5 flaky tests/chat-file.spec.ts:166:7 › #ychat › should add an id to the chat metadata ───────────────── tests/side-panel.spec.ts:177:9 › #sidepanel › #openingClosing › should attach a spinner while loading the chat tests/ui-config.spec.ts:97:7 › #stackedMessages › messages should be stacked by default ──────── tests/unread.spec.ts:192:9 › #messagesNavigation › navigation with new unread message › should navigate to new unread message tests/user-mention.spec.ts:104:7 › #user-mention › should not be case sensitive ──────────────── 1 skipped 75 passed (6.3m)

Artifacts

Produced during runtime
Name Size Digest
integration-jupyterlab
19.3 MB
sha256:0c55f2498dbbf44b2d7603c90d4ee6fd53019446ffedb19e7410ef5eeed59c7a
integration-notebook
189 KB
sha256:4e4df48e9b910de03e7bd0f34bddde725ccca6748950995635a2f57ea07dc82d