Skip to content

Move the Chat card in the 'Other' section of the launcher #480

Move the Chat card in the 'Other' section of the launcher

Move the Chat card in the 'Other' section of the launcher #480

Triggered via pull request January 2, 2025 16:47
Status Failure
Total duration 13m 46s
Artifacts 3

build.yml

on: pull_request
Build chat extension
2m 35s
Build chat extension
Matrix: test_extensions
Integration tests
8m 8s
Integration tests
Integration tests notebook
1m 41s
Integration tests notebook
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 13 warnings, and 2 notices
tests/commands.spec.ts:114:7 › #launcher › should have a launcher chat tile in other section: ui-tests/tests/commands.spec.ts#L122
1) tests/commands.spec.ts:114:7 › #launcher › should have a launcher chat tile in other section ── Error: Screenshot comparison failed: Expected an image 103px by 103px, received 103px by 114px. 182 pixels (ratio 0.02 of all image pixels) are different. Expected: /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/commands.spec.ts-snapshots/launcher-tile-linux.png Received: /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/test-results/tests-commands--launcher-s-1dfa7--chat-tile-in-other-section/launcher-tile-actual.png Diff: /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/test-results/tests-commands--launcher-s-1dfa7--chat-tile-in-other-section/launcher-tile-diff.png 120 | await tile.scrollIntoViewIfNeeded(); 121 | await expect(tile).toHaveCount(1); > 122 | expect(await tile.screenshot()).toMatchSnapshot('launcher-tile.png'); | ^ 123 | }); 124 | 125 | test('should open modal create from the launcher', async ({ page }) => { at /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/commands.spec.ts:122:37
tests/commands.spec.ts:114:7 › #launcher › should have a launcher chat tile in other section: ui-tests/tests/commands.spec.ts#L122
1) tests/commands.spec.ts:114:7 › #launcher › should have a launcher chat tile in other section ── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: Expected an image 103px by 103px, received 103px by 114px. 182 pixels (ratio 0.02 of all image pixels) are different. Expected: /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/commands.spec.ts-snapshots/launcher-tile-linux.png Received: /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/test-results/tests-commands--launcher-s-1dfa7--chat-tile-in-other-section-retry1/launcher-tile-actual.png Diff: /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/test-results/tests-commands--launcher-s-1dfa7--chat-tile-in-other-section-retry1/launcher-tile-diff.png 120 | await tile.scrollIntoViewIfNeeded(); 121 | await expect(tile).toHaveCount(1); > 122 | expect(await tile.screenshot()).toMatchSnapshot('launcher-tile.png'); | ^ 123 | }); 124 | 125 | test('should open modal create from the launcher', async ({ page }) => { at /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/commands.spec.ts:122:37
tests/commands.spec.ts:114:7 › #launcher › should have a launcher chat tile in other section: ui-tests/tests/commands.spec.ts#L122
1) tests/commands.spec.ts:114:7 › #launcher › should have a launcher chat tile in other section ── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: Expected an image 103px by 103px, received 103px by 114px. 182 pixels (ratio 0.02 of all image pixels) are different. Expected: /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/commands.spec.ts-snapshots/launcher-tile-linux.png Received: /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/test-results/tests-commands--launcher-s-1dfa7--chat-tile-in-other-section-retry2/launcher-tile-actual.png Diff: /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/test-results/tests-commands--launcher-s-1dfa7--chat-tile-in-other-section-retry2/launcher-tile-diff.png 120 | await tile.scrollIntoViewIfNeeded(); 121 | await expect(tile).toHaveCount(1); > 122 | expect(await tile.screenshot()).toMatchSnapshot('launcher-tile.png'); | ^ 123 | }); 124 | 125 | test('should open modal create from the launcher', async ({ page }) => { at /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/commands.spec.ts:122:37
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.9ae09eead5139c587af4.js?v=9ae09eead5139c587af4#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.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)
tests/message-toolbar.spec.ts:96:7 › #messageToolbar › should cancel message edition: ui-tests/tests/message-toolbar.spec.ts#L121
3) tests/message-toolbar.spec.ts:96:7 › #messageToolbar › should cancel message edition ────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('main').getByRole('tabpanel', { name: 'my-chat.chat' }).locator('.jp-chat-messages-container .jp-chat-input-container').getByTitle('Cancel edition') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('main').getByRole('tabpanel', { name: 'my-chat.chat' }).locator('.jp-chat-messages-container .jp-chat-input-container').getByTitle('Cancel edition') 119 | .locator('.jp-chat-messages-container .jp-chat-input-container') 120 | .getByTitle('Cancel edition'); > 121 | await expect(cancelButton).toBeVisible(); | ^ 122 | await cancelButton.click(); 123 | await expect(editInput).not.toBeVisible(); 124 | at /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/message-toolbar.spec.ts:121:32
tests/notifications.spec.ts:108:7 › #notifications › should remove notification when the message is read: ui-tests/tests/notifications.spec.ts#L1
4) tests/notifications.spec.ts:108:7 › #notifications › should remove notification when the message is read Test timeout of 60000ms exceeded.
tests/notifications.spec.ts:108:7 › #notifications › should remove notification when the message is read: ui-tests/tests/test-utils.ts#L51
4) tests/notifications.spec.ts:108:7 › #notifications › should remove notification when the message is read 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:108:7 › #notifications › should remove notification when the message is read: ui-tests/tests/notifications.spec.ts#L1
4) tests/notifications.spec.ts:108:7 › #notifications › should remove notification when the message is read Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 60000ms exceeded.
tests/notifications.spec.ts:108:7 › #notifications › should remove notification when the message is read: ui-tests/tests/test-utils.ts#L51
4) tests/notifications.spec.ts:108:7 › #notifications › should remove notification when the message is read 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)
Check Links
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Typing test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build jupyter_chat
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Python unit tests (Python 3.9)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Python unit tests (Python 3.9)
Unexpected input(s) 'python-version', valid inputs are ['python_version', 'node_version', 'dependency_type']
Python unit tests (Python 3.9)
Unexpected input(s) 'python-version', valid inputs are ['python_version', 'node_version', 'dependency_type']
Python unit tests (Python 3.12)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Python unit tests (Python 3.12)
Unexpected input(s) 'python-version', valid inputs are ['python_version', 'node_version', 'dependency_type']
Python unit tests (Python 3.12)
Unexpected input(s) 'python-version', valid inputs are ['python_version', 'node_version', 'dependency_type']
Build chat extension
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Integration tests notebook
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Integration tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Deprecation notice: v1, v2, and v3 of the artifact actions
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/
🎭 Playwright Run Summary
2 passed (14.5s)
🎭 Playwright Run Summary
1 failed tests/commands.spec.ts:114:7 › #launcher › should have a launcher chat tile in other section ─── 5 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/notifications.spec.ts:108:7 › #notifications › should remove notification when the message is read tests/ui-config.spec.ts:198:7 › #typingNotification › should display typing user ─────────────── tests/unread.spec.ts:275:7 › #localStorage › should save last read message in localStorage ───── 82 passed (7.1m)

Artifacts

Produced during runtime
Name Size
jupyterlab_chat-artifacts
1.55 MB
jupyterlab_chat-notebook-playwright-tests
436 KB
jupyterlab_chat-playwright-tests
19.4 MB