Move the Chat card in the 'Other' section of the launcher #478
build.yml
on: pull_request
Build jupyter_chat
2m 42s
Typing test
2m 29s
Check Links
1m 12s
Matrix: test_extensions
Integration tests
8m 11s
Integration tests notebook
1m 26s
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#L121
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
119 | .filter({ hasText: 'Chat' });
120 | await expect(tile).toHaveCount(1);
> 121 | expect(await tile.screenshot()).toMatchSnapshot('launcher-tile.png');
| ^
122 | });
123 |
124 | test('should open modal create from the launcher', async ({ page }) => {
at /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/commands.spec.ts:121:37
|
tests/commands.spec.ts:114:7 › #launcher › should have a launcher chat tile in other section:
ui-tests/tests/commands.spec.ts#L121
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
119 | .filter({ hasText: 'Chat' });
120 | await expect(tile).toHaveCount(1);
> 121 | expect(await tile.screenshot()).toMatchSnapshot('launcher-tile.png');
| ^
122 | });
123 |
124 | test('should open modal create from the launcher', async ({ page }) => {
at /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/commands.spec.ts:121:37
|
tests/commands.spec.ts:114:7 › #launcher › should have a launcher chat tile in other section:
ui-tests/tests/commands.spec.ts#L121
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
119 | .filter({ hasText: 'Chat' });
120 | await expect(tile).toHaveCount(1);
> 121 | expect(await tile.screenshot()).toMatchSnapshot('launcher-tile.png');
| ^
122 | });
123 |
124 | test('should open modal create from the launcher', async ({ page }) => {
at /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/commands.spec.ts:121: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/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: 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)
|
tests/notifications.spec.ts:155:7 › #notifications › should remove notifications from settings:
ui-tests/tests/notifications.spec.ts#L1
3) tests/notifications.spec.ts:155:7 › #notifications › should remove notifications from settings
Test timeout of 60000ms exceeded.
|
tests/notifications.spec.ts:155:7 › #notifications › should remove notifications from settings:
ui-tests/tests/test-utils.ts#L51
3) tests/notifications.spec.ts:155:7 › #notifications › should remove notifications from settings
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:155:7 › #notifications › should remove notifications from settings:
ui-tests/tests/notifications.spec.ts#L1
3) tests/notifications.spec.ts:155:7 › #notifications › should remove notifications from settings
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 60000ms exceeded.
|
tests/notifications.spec.ts:155:7 › #notifications › should remove notifications from settings:
ui-tests/tests/test-utils.ts#L51
3) tests/notifications.spec.ts:155:7 › #notifications › should remove notifications from settings
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)
|
tests/ui-config.spec.ts:198:7 › #typingNotification › should display typing user:
ui-tests/tests/ui-config.spec.ts#L1
4) tests/ui-config.spec.ts:198:7 › #typingNotification › should display typing user ──────────────
Test timeout of 60000ms exceeded.
|
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.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
|
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']
|
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 (12.3s)
|
🎭 Playwright Run Summary
1 failed
tests/commands.spec.ts:114:7 › #launcher › should have a launcher chat tile in other section ───
3 flaky
tests/chat-file.spec.ts:166:7 › #ychat › should add an id to the chat metadata ─────────────────
tests/notifications.spec.ts:155:7 › #notifications › should remove notifications from settings ─
tests/ui-config.spec.ts:198:7 › #typingNotification › should display typing user ───────────────
84 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
|
9.36 MB |
|