Skip to content

Improve dev script (#88) #337

Improve dev script (#88)

Improve dev script (#88) #337

Triggered via push October 11, 2024 15:29
Status Success
Total duration 11m 32s
Artifacts 4

build.yml

on: push
Build jupyter_chat
2m 26s
Build jupyter_chat
Check Links
57s
Check Links
Matrix: build_extensions
Python test on extensions
3m 5s
Python test on extensions
Matrix: integration-tests
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 8 warnings, and 2 notices
tests/notifications.spec.ts:89:7 › #notifications › should receive notification on unread message: python/jupyterlab-collaborative-chat/ui-tests/tests/notifications.spec.ts#L1
1) tests/notifications.spec.ts:89:7 › #notifications › should receive notification on unread message Test timeout of 60000ms exceeded.
tests/notifications.spec.ts:89:7 › #notifications › should receive notification on unread message: python/jupyterlab-collaborative-chat/ui-tests/tests/test-utils.ts#L37
1) tests/notifications.spec.ts:89:7 › #notifications › should receive notification on unread message Error: locator.isChecked: Target page, context or browser has been closed at tests/test-utils.ts:37 35 | }, filename); 36 | await page.waitForCondition( > 37 | async () => await page.activity.isTabActive(filename) | ^ 38 | ); 39 | return (await page.activity.getPanelLocator(filename)) as Locator; 40 | }; at Object.isInSimpleMode (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:311:17) at ActivityHelper.isTabActive (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/node_modules/@jupyterlab/galata/src/helpers/activity.ts:46:21) at /home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/tests/test-utils.ts:37:37 at Timeout.check (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:183:33)
tests/notifications.spec.ts:89:7 › #notifications › should receive notification on unread message: python/jupyterlab-collaborative-chat/ui-tests/tests/notifications.spec.ts#L1
1) tests/notifications.spec.ts:89:7 › #notifications › should receive notification on unread message Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 60000ms exceeded.
tests/notifications.spec.ts:89:7 › #notifications › should receive notification on unread message: python/jupyterlab-collaborative-chat/ui-tests/tests/notifications.spec.ts#L92
1) tests/notifications.spec.ts:89:7 › #notifications › should receive notification on unread message Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.scrollIntoViewIfNeeded: Test timeout of 60000ms exceeded. Call log: - waiting for getByRole('main').getByRole('tabpanel', { name: 'my-chat.chat' }).locator('.jp-chat-message').first() 90 | const chatPanel = await openChat(page, FILENAME); 91 | const messages = chatPanel.locator('.jp-chat-message'); > 92 | await messages.first().scrollIntoViewIfNeeded(); | ^ 93 | 94 | await sendMessage(guestPage, FILENAME, MSG_CONTENT); 95 | await page.waitForCondition( at /home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/tests/notifications.spec.ts:92:28
tests/unread.spec.ts:180:9 › #messagesNavigation › navigation with new unread message › should have unread icon for new messages: python/jupyterlab-collaborative-chat/ui-tests/tests/unread.spec.ts#L1
2) tests/unread.spec.ts:180:9 › #messagesNavigation › navigation with new unread message › should have unread icon for new messages Test timeout of 60000ms exceeded.
tests/unread.spec.ts:180:9 › #messagesNavigation › navigation with new unread message › should have unread icon for new messages: python/jupyterlab-collaborative-chat/ui-tests/tests/test-utils.ts#L37
2) tests/unread.spec.ts:180:9 › #messagesNavigation › navigation with new unread message › should have unread icon for new messages Error: locator.isChecked: Target page, context or browser has been closed at tests/test-utils.ts:37 35 | }, filename); 36 | await page.waitForCondition( > 37 | async () => await page.activity.isTabActive(filename) | ^ 38 | ); 39 | return (await page.activity.getPanelLocator(filename)) as Locator; 40 | }; at Object.isInSimpleMode (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:311:17) at ActivityHelper.isTabActive (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/node_modules/@jupyterlab/galata/src/helpers/activity.ts:46:21) at /home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/tests/test-utils.ts:37:37 at Timeout.check (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:183:33)
Check Links
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build jupyter_chat
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build ws chat extension
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build collaborative chat extension
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Python test on extensions
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
ws integration tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/download-artifact@v3, actions/cache@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
collaborative integration tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/download-artifact@v3, actions/cache@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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_collaborative_chat-artifacts", "jupyterlab_collaborative_chat-playwright-tests", "jupyterlab_ws_chat-artifacts", "jupyterlab_ws_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
1 passed (5.1s)
🎭 Playwright Run Summary
2 flaky tests/notifications.spec.ts:89:7 › #notifications › should receive notification on unread message tests/unread.spec.ts:180:9 › #messagesNavigation › navigation with new unread message › should have unread icon for new messages 2 skipped 77 passed (5.2m)

Artifacts

Produced during runtime
Name Size
jupyterlab_collaborative_chat-artifacts
1.67 MB
jupyterlab_collaborative_chat-playwright-tests
1.11 MB
jupyterlab_ws_chat-artifacts
1.34 MB
jupyterlab_ws_chat-playwright-tests
426 KB