Skip to content

Add Untitled*.ipynb and *.chat to the .gitignore (#151) #14

Add Untitled*.ipynb and *.chat to the .gitignore (#151)

Add Untitled*.ipynb and *.chat to the .gitignore (#151) #14

Triggered via push February 6, 2025 07:40
Status Failure
Total duration 9m 56s
Artifacts 2

ui-tests.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 notices
tests/notifications.spec.ts:197:7 › #notifications › should add unread symbol in tab label: ui-tests/tests/notifications.spec.ts#L213
1) tests/notifications.spec.ts:197:7 › #notifications › should add unread symbol in tab label ──── Error: locator.scrollIntoViewIfNeeded: Element is not attached to the DOM Call log: - attempting scroll into view action - waiting for element to be stable - element is not stable - retrying scroll into view action, attempt #1 - waiting for element to be stable 211 | expect(await tab.screenshot()).toMatchSnapshot('tab-with-unread.png'); 212 | > 213 | await messages.last().scrollIntoViewIfNeeded(); | ^ 214 | expect(await tab.screenshot()).toMatchSnapshot('tab-without-unread.png'); 215 | }); 216 | }); at /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/notifications.spec.ts:213:27
tests/notifications.spec.ts:197:7 › #notifications › should add unread symbol in tab label: ui-tests/tests/notifications.spec.ts#L1
1) tests/notifications.spec.ts:197:7 › #notifications › should add unread symbol in tab label ──── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 60000ms exceeded.
tests/notifications.spec.ts:197:7 › #notifications › should add unread symbol in tab label: ui-tests/tests/test-utils.ts#L51
1) tests/notifications.spec.ts:197:7 › #notifications › should add unread symbol in tab label ──── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.isChecked: Test timeout of 60000ms exceeded. Call log: - waiting for getByRole('switch', { name: 'Simple' }) 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:197:7 › #notifications › should add unread symbol in tab label: ui-tests/tests/notifications.spec.ts#L1
1) tests/notifications.spec.ts:197:7 › #notifications › should add unread symbol in tab label ──── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 60000ms exceeded.
tests/notifications.spec.ts:197:7 › #notifications › should add unread symbol in tab label: ui-tests/tests/test-utils.ts#L51
1) tests/notifications.spec.ts:197:7 › #notifications › should add unread symbol in tab label ──── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── 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/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/tests/chat-file.spec.ts#L32
2) tests/chat-file.spec.ts:166:7 › #ychat › should add an id to the chat metadata ──────────────── Error: proxy.evaluate: Target page, context or browser has been closed 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)
tests/message-toolbar.spec.ts:96:7 › #messageToolbar › should cancel message edition: ui-tests/tests/message-toolbar.spec.ts#L1
3) tests/message-toolbar.spec.ts:96:7 › #messageToolbar › should cancel message edition ────────── Test timeout of 60000ms exceeded.
tests/message-toolbar.spec.ts:96:7 › #messageToolbar › should cancel message edition: ui-tests/tests/message-toolbar.spec.ts#L104
3) 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
tests/unread.spec.ts:56:9 › #messagesNavigation › navigation without unread message › should navigate to last message: ui-tests/tests/unread.spec.ts#L1
4) tests/unread.spec.ts:56:9 › #messagesNavigation › navigation without unread message › should navigate to last message Test timeout of 60000ms exceeded.
🎭 Playwright Run Summary
2 passed (16.2s)
🎭 Playwright Run Summary
1 failed tests/notifications.spec.ts:197:7 › #notifications › should add unread symbol in tab label ───── 3 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/unread.spec.ts:56:9 › #messagesNavigation › navigation without unread message › should navigate to last message 84 passed (7.1m)

Artifacts

Produced during runtime
Name Size
integration-jupyterlab
12 MB
integration-notebook
189 KB