Skip to content

Collaborative chat sidepanel #93

Collaborative chat sidepanel

Collaborative chat sidepanel #93

Triggered via pull request April 15, 2024 15:33
Status Failure
Total duration 16m 18s
Artifacts 4

build.yml

on: pull_request
Build jupyter_chat
2m 57s
Build jupyter_chat
Check Links
44s
Check Links
Matrix: build_extensions
Matrix: integration-tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 6 warnings, and 2 notices
tests/jupyterlab_collaborative_chat.spec.ts:85:7 › #commandPalette › should create a chat with name from command palette: packages/jupyterlab-collaborative-chat/ui-tests/tests/jupyterlab_collaborative_chat.spec.ts#L97
1) tests/jupyterlab_collaborative_chat.spec.ts:85:7 › #commandPalette › should create a chat with name from command palette Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('main').getByRole('tab', { name: 'my-chat.chat' }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('main').getByRole('tab', { name: 'my-chat.chat' }) 95 | async () => await page.filebrowser.contents.fileExists(`${name}.chat`) 96 | ); > 97 | await expect(page.activity.getTabLocator(`${name}.chat`)).toBeVisible(); | ^ 98 | }); 99 | 100 | test('should create an untitled chat from command palette', async ({ at /home/runner/work/jupyter-chat/jupyter-chat/packages/jupyterlab-collaborative-chat/ui-tests/tests/jupyterlab_collaborative_chat.spec.ts:97:63
tests/jupyterlab_collaborative_chat.spec.ts:100:7 › #commandPalette › should create an untitled chat from command palette: packages/jupyterlab-collaborative-chat/ui-tests/tests/jupyterlab_collaborative_chat.spec.ts#L112
2) tests/jupyterlab_collaborative_chat.spec.ts:100:7 › #commandPalette › should create an untitled chat from command palette Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('main').getByRole('tab', { name: 'untitled.chat' }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('main').getByRole('tab', { name: 'untitled.chat' }) 110 | async () => await page.filebrowser.contents.fileExists('untitled.chat') 111 | ); > 112 | await expect(page.activity.getTabLocator('untitled.chat')).toBeVisible(); | ^ 113 | }); 114 | 115 | test('should not create a chat if modal is cancelled', async ({ page }) => { at /home/runner/work/jupyter-chat/jupyter-chat/packages/jupyterlab-collaborative-chat/ui-tests/tests/jupyterlab_collaborative_chat.spec.ts:112:64
tests/jupyterlab_collaborative_chat.spec.ts:126:7 › #commandPalette › should open an existing chat: packages/jupyterlab-collaborative-chat/ui-tests/tests/jupyterlab_collaborative_chat.spec.ts#L137
3) tests/jupyterlab_collaborative_chat.spec.ts:126:7 › #commandPalette › should open an existing chat Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('main').getByRole('tab', { name: 'my-chat.chat' }) Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('main').getByRole('tab', { name: 'my-chat.chat' }) 135 | .click(); 136 | await fillModal(page, `${name}.chat`); > 137 | await expect(page.activity.getTabLocator(`${name}.chat`)).toBeVisible(); | ^ 138 | }); 139 | }); 140 | at /home/runner/work/jupyter-chat/jupyter-chat/packages/jupyterlab-collaborative-chat/ui-tests/tests/jupyterlab_collaborative_chat.spec.ts:137:63
tests/jupyterlab_collaborative_chat.spec.ts:194:7 › #messages › should send a message using button: packages/jupyterlab-collaborative-chat/ui-tests/tests/jupyterlab_collaborative_chat.spec.ts#L1
4) tests/jupyterlab_collaborative_chat.spec.ts:194:7 › #messages › should send a message using button Test timeout of 60000ms exceeded.
tests/jupyterlab_collaborative_chat.spec.ts:194:7 › #messages › should send a message using button: packages/jupyterlab-collaborative-chat/ui-tests/tests/jupyterlab_collaborative_chat.spec.ts#L34
4) tests/jupyterlab_collaborative_chat.spec.ts:194:7 › #messages › should send a message using button Error: locator.isChecked: Target page, context or browser has been closed 32 | }, filename); 33 | await page.waitForCondition( > 34 | async () => await page.activity.isTabActive(filename) | ^ 35 | ); 36 | return (await page.activity.getPanelLocator(filename)) as Locator; 37 | }; at Object.isInSimpleMode (/home/runner/work/jupyter-chat/jupyter-chat/packages/jupyterlab-collaborative-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:280:17) at ActivityHelper.isTabActive (/home/runner/work/jupyter-chat/jupyter-chat/packages/jupyterlab-collaborative-chat/ui-tests/node_modules/@jupyterlab/galata/src/helpers/activity.ts:46:21) at /home/runner/work/jupyter-chat/jupyter-chat/packages/jupyterlab-collaborative-chat/ui-tests/tests/jupyterlab_collaborative_chat.spec.ts:34:37 at Timeout.check (/home/runner/work/jupyter-chat/jupyter-chat/packages/jupyterlab-collaborative-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:166:33)
tests/jupyterlab_collaborative_chat.spec.ts:213:7 › #messages › should send a message using keyboard: packages/jupyterlab-collaborative-chat/ui-tests/tests/jupyterlab_collaborative_chat.spec.ts#L1
5) tests/jupyterlab_collaborative_chat.spec.ts:213:7 › #messages › should send a message using keyboard Test timeout of 60000ms exceeded.
tests/jupyterlab_collaborative_chat.spec.ts:213:7 › #messages › should send a message using keyboard: packages/jupyterlab-collaborative-chat/ui-tests/tests/jupyterlab_collaborative_chat.spec.ts#L34
5) tests/jupyterlab_collaborative_chat.spec.ts:213:7 › #messages › should send a message using keyboard Error: locator.isChecked: Target page, context or browser has been closed 32 | }, filename); 33 | await page.waitForCondition( > 34 | async () => await page.activity.isTabActive(filename) | ^ 35 | ); 36 | return (await page.activity.getPanelLocator(filename)) as Locator; 37 | }; at Object.isInSimpleMode (/home/runner/work/jupyter-chat/jupyter-chat/packages/jupyterlab-collaborative-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:280:17) at ActivityHelper.isTabActive (/home/runner/work/jupyter-chat/jupyter-chat/packages/jupyterlab-collaborative-chat/ui-tests/node_modules/@jupyterlab/galata/src/helpers/activity.ts:46:21) at /home/runner/work/jupyter-chat/jupyter-chat/packages/jupyterlab-collaborative-chat/ui-tests/tests/jupyterlab_collaborative_chat.spec.ts:34:37 at Timeout.check (/home/runner/work/jupyter-chat/jupyter-chat/packages/jupyterlab-collaborative-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:166:33)
tests/jupyterlab_collaborative_chat.spec.ts:264:7 › #settings › should use settings value sendWithShiftEnter: packages/jupyterlab-collaborative-chat/ui-tests/tests/jupyterlab_collaborative_chat.spec.ts#L1
6) tests/jupyterlab_collaborative_chat.spec.ts:264:7 › #settings › should use settings value sendWithShiftEnter Test timeout of 60000ms exceeded.
tests/jupyterlab_collaborative_chat.spec.ts:264:7 › #settings › should use settings value sendWithShiftEnter: packages/jupyterlab-collaborative-chat/ui-tests/tests/jupyterlab_collaborative_chat.spec.ts#L34
6) tests/jupyterlab_collaborative_chat.spec.ts:264:7 › #settings › should use settings value sendWithShiftEnter Error: locator.isChecked: Target page, context or browser has been closed 32 | }, filename); 33 | await page.waitForCondition( > 34 | async () => await page.activity.isTabActive(filename) | ^ 35 | ); 36 | return (await page.activity.getPanelLocator(filename)) as Locator; 37 | }; at Object.isInSimpleMode (/home/runner/work/jupyter-chat/jupyter-chat/packages/jupyterlab-collaborative-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:280:17) at ActivityHelper.isTabActive (/home/runner/work/jupyter-chat/jupyter-chat/packages/jupyterlab-collaborative-chat/ui-tests/node_modules/@jupyterlab/galata/src/helpers/activity.ts:46:21) at /home/runner/work/jupyter-chat/jupyter-chat/packages/jupyterlab-collaborative-chat/ui-tests/tests/jupyterlab_collaborative_chat.spec.ts:34:37 at Timeout.check (/home/runner/work/jupyter-chat/jupyter-chat/packages/jupyterlab-collaborative-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:166:33)
tests/jupyterlab_collaborative_chat.spec.ts:304:7 › #settings › should update settings value sendWithShiftEnter on existing chat: packages/jupyterlab-collaborative-chat/ui-tests/tests/jupyterlab_collaborative_chat.spec.ts#L1
7) tests/jupyterlab_collaborative_chat.spec.ts:304:7 › #settings › should update settings value sendWithShiftEnter on existing chat Test timeout of 60000ms exceeded.
Check Links
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/cache@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build jupyter_chat
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/cache@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build collaborative chat extension
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/cache@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build ws chat extension
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/cache@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ws integration tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/cache@v3, actions/setup-node@v3, actions/download-artifact@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
collaborative integration tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/cache@v3, actions/setup-node@v3, actions/download-artifact@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
🎭 Playwright Run Summary
1 passed (5.3s)
🎭 Playwright Run Summary
7 failed tests/jupyterlab_collaborative_chat.spec.ts:85:7 › #commandPalette › should create a chat with name from command palette tests/jupyterlab_collaborative_chat.spec.ts:100:7 › #commandPalette › should create an untitled chat from command palette tests/jupyterlab_collaborative_chat.spec.ts:126:7 › #commandPalette › should open an existing chat tests/jupyterlab_collaborative_chat.spec.ts:194:7 › #messages › should send a message using button tests/jupyterlab_collaborative_chat.spec.ts:213:7 › #messages › should send a message using keyboard tests/jupyterlab_collaborative_chat.spec.ts:264:7 › #settings › should use settings value sendWithShiftEnter tests/jupyterlab_collaborative_chat.spec.ts:304:7 › #settings › should update settings value sendWithShiftEnter on existing chat 16 passed (5.6m)

Artifacts

Produced during runtime
Name Size
jupyterlab_collaborative_chat-artifacts Expired
1.35 MB
jupyterlab_collaborative_chat-playwright-tests Expired
1.71 MB
jupyterlab_ws_chat-artifacts Expired
1.02 MB
jupyterlab_ws_chat-playwright-tests Expired
426 KB