Skip to content

Send with selection #307

Send with selection

Send with selection #307

Triggered via pull request September 16, 2024 20:43
Status Failure
Total duration 28m 29s
Artifacts 4

build.yml

on: pull_request
Build jupyter_chat
2m 40s
Build jupyter_chat
Check Links
52s
Check Links
Matrix: build_extensions
Python test on extensions
9m 44s
Python test on extensions
Matrix: integration-tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 8 warnings, and 2 notices
tests/code-toolbar.spec.ts:55:7 › #codeToolbar › should have a code toolbar: python/jupyterlab-collaborative-chat/ui-tests/tests/test-utils.ts#L55
1) tests/code-toolbar.spec.ts:55:7 › #codeToolbar › should have a code toolbar ─────────────────── Error: locator.click: Error: strict mode violation: getByRole('main').getByRole('tabpanel', { name: 'toolbar.chat' }).locator('.jp-chat-input-container').getByRole('button') resolved to 2 elements: 1) <button tabindex="0" type="button" title="Send message (…>…</button> aka getByRole('button', { name: 'Send message (SHIFT+ENTER)' }) 2) <button tabindex="0" type="button" class="MuiButtonBase-…>…</button> aka getByLabel('toolbar.chat').getByRole('button').nth(1) Call log: - waiting for getByRole('main').getByRole('tabpanel', { name: 'toolbar.chat' }).locator('.jp-chat-input-container').getByRole('button') at tests/test-utils.ts:55 53 | .getByRole('button'); 54 | await input.pressSequentially(content); > 55 | await sendButton.click(); | ^ 56 | }; 57 | at sendMessage (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/tests/test-utils.ts:55:20) at /home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/tests/code-toolbar.spec.ts:61:5
tests/code-toolbar.spec.ts:55:7 › #codeToolbar › should have a code toolbar: python/jupyterlab-collaborative-chat/ui-tests/tests/test-utils.ts#L55
1) tests/code-toolbar.spec.ts:55:7 › #codeToolbar › should have a code toolbar ─────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByRole('main').getByRole('tabpanel', { name: 'toolbar.chat' }).locator('.jp-chat-input-container').getByRole('button') resolved to 2 elements: 1) <button tabindex="0" type="button" title="Send message (…>…</button> aka getByRole('button', { name: 'Send message (SHIFT+ENTER)' }) 2) <button tabindex="0" type="button" class="MuiButtonBase-…>…</button> aka getByLabel('toolbar.chat').getByRole('button').nth(1) Call log: - waiting for getByRole('main').getByRole('tabpanel', { name: 'toolbar.chat' }).locator('.jp-chat-input-container').getByRole('button') at tests/test-utils.ts:55 53 | .getByRole('button'); 54 | await input.pressSequentially(content); > 55 | await sendButton.click(); | ^ 56 | }; 57 | at sendMessage (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/tests/test-utils.ts:55:20) at /home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/tests/code-toolbar.spec.ts:61:5
tests/code-toolbar.spec.ts:55:7 › #codeToolbar › should have a code toolbar: python/jupyterlab-collaborative-chat/ui-tests/tests/test-utils.ts#L55
1) tests/code-toolbar.spec.ts:55:7 › #codeToolbar › should have a code toolbar ─────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByRole('main').getByRole('tabpanel', { name: 'toolbar.chat' }).locator('.jp-chat-input-container').getByRole('button') resolved to 2 elements: 1) <button tabindex="0" type="button" title="Send message (…>…</button> aka getByRole('button', { name: 'Send message (SHIFT+ENTER)' }) 2) <button tabindex="0" type="button" class="MuiButtonBase-…>…</button> aka getByLabel('toolbar.chat').getByRole('button').nth(1) Call log: - waiting for getByRole('main').getByRole('tabpanel', { name: 'toolbar.chat' }).locator('.jp-chat-input-container').getByRole('button') at tests/test-utils.ts:55 53 | .getByRole('button'); 54 | await input.pressSequentially(content); > 55 | await sendButton.click(); | ^ 56 | }; 57 | at sendMessage (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/tests/test-utils.ts:55:20) at /home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/tests/code-toolbar.spec.ts:61:5
tests/code-toolbar.spec.ts:67:7 › #codeToolbar › should not have a code toolbar: python/jupyterlab-collaborative-chat/ui-tests/tests/test-utils.ts#L55
2) tests/code-toolbar.spec.ts:67:7 › #codeToolbar › should not have a code toolbar ─────────────── Error: locator.click: Error: strict mode violation: getByRole('main').getByRole('tabpanel', { name: 'toolbar.chat' }).locator('.jp-chat-input-container').getByRole('button') resolved to 2 elements: 1) <button tabindex="0" type="button" title="Send message (…>…</button> aka getByRole('button', { name: 'Send message (SHIFT+ENTER)' }) 2) <button tabindex="0" type="button" class="MuiButtonBase-…>…</button> aka getByLabel('toolbar.chat').getByRole('button').nth(1) Call log: - waiting for getByRole('main').getByRole('tabpanel', { name: 'toolbar.chat' }).locator('.jp-chat-input-container').getByRole('button') at tests/test-utils.ts:55 53 | .getByRole('button'); 54 | await input.pressSequentially(content); > 55 | await sendButton.click(); | ^ 56 | }; 57 | at sendMessage (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/tests/test-utils.ts:55:20) at /home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/tests/code-toolbar.spec.ts:72:5
tests/code-toolbar.spec.ts:67:7 › #codeToolbar › should not have a code toolbar: python/jupyterlab-collaborative-chat/ui-tests/tests/test-utils.ts#L55
2) tests/code-toolbar.spec.ts:67:7 › #codeToolbar › should not have a code toolbar ─────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByRole('main').getByRole('tabpanel', { name: 'toolbar.chat' }).locator('.jp-chat-input-container').getByRole('button') resolved to 2 elements: 1) <button tabindex="0" type="button" title="Send message (…>…</button> aka getByRole('button', { name: 'Send message (SHIFT+ENTER)' }) 2) <button tabindex="0" type="button" class="MuiButtonBase-…>…</button> aka getByLabel('toolbar.chat').getByRole('button').nth(1) Call log: - waiting for getByRole('main').getByRole('tabpanel', { name: 'toolbar.chat' }).locator('.jp-chat-input-container').getByRole('button') at tests/test-utils.ts:55 53 | .getByRole('button'); 54 | await input.pressSequentially(content); > 55 | await sendButton.click(); | ^ 56 | }; 57 | at sendMessage (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/tests/test-utils.ts:55:20) at /home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/tests/code-toolbar.spec.ts:72:5
tests/code-toolbar.spec.ts:67:7 › #codeToolbar › should not have a code toolbar: python/jupyterlab-collaborative-chat/ui-tests/tests/test-utils.ts#L55
2) tests/code-toolbar.spec.ts:67:7 › #codeToolbar › should not have a code toolbar ─────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByRole('main').getByRole('tabpanel', { name: 'toolbar.chat' }).locator('.jp-chat-input-container').getByRole('button') resolved to 2 elements: 1) <button tabindex="0" type="button" title="Send message (…>…</button> aka getByRole('button', { name: 'Send message (SHIFT+ENTER)' }) 2) <button tabindex="0" type="button" class="MuiButtonBase-…>…</button> aka getByLabel('toolbar.chat').getByRole('button').nth(1) Call log: - waiting for getByRole('main').getByRole('tabpanel', { name: 'toolbar.chat' }).locator('.jp-chat-input-container').getByRole('button') at tests/test-utils.ts:55 53 | .getByRole('button'); 54 | await input.pressSequentially(content); > 55 | await sendButton.click(); | ^ 56 | }; 57 | at sendMessage (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/tests/test-utils.ts:55:20) at /home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/tests/code-toolbar.spec.ts:72:5
tests/code-toolbar.spec.ts:77:7 › #codeToolbar › buttons should be disabled without notebook: python/jupyterlab-collaborative-chat/ui-tests/tests/test-utils.ts#L55
3) tests/code-toolbar.spec.ts:77:7 › #codeToolbar › buttons should be disabled without notebook ── Error: locator.click: Error: strict mode violation: getByRole('main').getByRole('tabpanel', { name: 'toolbar.chat' }).locator('.jp-chat-input-container').getByRole('button') resolved to 2 elements: 1) <button tabindex="0" type="button" title="Send message (…>…</button> aka getByRole('button', { name: 'Send message (SHIFT+ENTER)' }) 2) <button tabindex="0" type="button" class="MuiButtonBase-…>…</button> aka getByLabel('toolbar.chat').getByRole('button').nth(1) Call log: - waiting for getByRole('main').getByRole('tabpanel', { name: 'toolbar.chat' }).locator('.jp-chat-input-container').getByRole('button') at tests/test-utils.ts:55 53 | .getByRole('button'); 54 | await input.pressSequentially(content); > 55 | await sendButton.click(); | ^ 56 | }; 57 | at sendMessage (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/tests/test-utils.ts:55:20) at /home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/tests/code-toolbar.spec.ts:82:5
tests/code-toolbar.spec.ts:77:7 › #codeToolbar › buttons should be disabled without notebook: python/jupyterlab-collaborative-chat/ui-tests/tests/test-utils.ts#L55
3) tests/code-toolbar.spec.ts:77:7 › #codeToolbar › buttons should be disabled without notebook ── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByRole('main').getByRole('tabpanel', { name: 'toolbar.chat' }).locator('.jp-chat-input-container').getByRole('button') resolved to 2 elements: 1) <button tabindex="0" type="button" title="Send message (…>…</button> aka getByRole('button', { name: 'Send message (SHIFT+ENTER)' }) 2) <button tabindex="0" type="button" class="MuiButtonBase-…>…</button> aka getByLabel('toolbar.chat').getByRole('button').nth(1) Call log: - waiting for getByRole('main').getByRole('tabpanel', { name: 'toolbar.chat' }).locator('.jp-chat-input-container').getByRole('button') at tests/test-utils.ts:55 53 | .getByRole('button'); 54 | await input.pressSequentially(content); > 55 | await sendButton.click(); | ^ 56 | }; 57 | at sendMessage (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/tests/test-utils.ts:55:20) at /home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/tests/code-toolbar.spec.ts:82:5
tests/code-toolbar.spec.ts:77:7 › #codeToolbar › buttons should be disabled without notebook: python/jupyterlab-collaborative-chat/ui-tests/tests/test-utils.ts#L55
3) tests/code-toolbar.spec.ts:77:7 › #codeToolbar › buttons should be disabled without notebook ── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByRole('main').getByRole('tabpanel', { name: 'toolbar.chat' }).locator('.jp-chat-input-container').getByRole('button') resolved to 2 elements: 1) <button tabindex="0" type="button" title="Send message (…>…</button> aka getByRole('button', { name: 'Send message (SHIFT+ENTER)' }) 2) <button tabindex="0" type="button" class="MuiButtonBase-…>…</button> aka getByLabel('toolbar.chat').getByRole('button').nth(1) Call log: - waiting for getByRole('main').getByRole('tabpanel', { name: 'toolbar.chat' }).locator('.jp-chat-input-container').getByRole('button') at tests/test-utils.ts:55 53 | .getByRole('button'); 54 | await input.pressSequentially(content); > 55 | await sendButton.click(); | ^ 56 | }; 57 | at sendMessage (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/tests/test-utils.ts:55:20) at /home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/tests/code-toolbar.spec.ts:82:5
tests/code-toolbar.spec.ts:90:7 › #codeToolbar › buttons should be disabled with a non visible notebook: python/jupyterlab-collaborative-chat/ui-tests/tests/test-utils.ts#L55
4) tests/code-toolbar.spec.ts:90:7 › #codeToolbar › buttons should be disabled with a non visible notebook Error: locator.click: Error: strict mode violation: getByRole('main').getByRole('tabpanel', { name: 'toolbar.chat' }).locator('.jp-chat-input-container').getByRole('button') resolved to 2 elements: 1) <button tabindex="0" type="button" title="Send message (…>…</button> aka getByRole('button', { name: 'Send message (SHIFT+ENTER)' }) 2) <button tabindex="0" type="button" class="MuiButtonBase-…>…</button> aka getByLabel('toolbar.chat').getByRole('button').nth(1) Call log: - waiting for getByRole('main').getByRole('tabpanel', { name: 'toolbar.chat' }).locator('.jp-chat-input-container').getByRole('button') at tests/test-utils.ts:55 53 | .getByRole('button'); 54 | await input.pressSequentially(content); > 55 | await sendButton.click(); | ^ 56 | }; 57 | at sendMessage (/home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/tests/test-utils.ts:55:20) at /home/runner/work/jupyter-chat/jupyter-chat/python/jupyterlab-collaborative-chat/ui-tests/tests/code-toolbar.spec.ts:99:5
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/
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/
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/
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 (6.3s)
🎭 Playwright Run Summary
18 failed tests/code-toolbar.spec.ts:55:7 › #codeToolbar › should have a code toolbar ──────────────────── tests/code-toolbar.spec.ts:67:7 › #codeToolbar › should not have a code toolbar ──────────────── tests/code-toolbar.spec.ts:77:7 › #codeToolbar › buttons should be disabled without notebook ─── tests/code-toolbar.spec.ts:90:7 › #codeToolbar › buttons should be disabled with a non visible notebook tests/code-toolbar.spec.ts:105:7 › #codeToolbar › buttons should be enabled with a visible notebook tests/code-toolbar.spec.ts:121:7 › #codeToolbar › insert code above ──────────────────────────── tests/code-toolbar.spec.ts:142:7 › #codeToolbar › insert code below ──────────────────────────── tests/code-toolbar.spec.ts:164:7 › #codeToolbar › replace active cell ────────────────────────── tests/code-toolbar.spec.ts:187:7 › #codeToolbar › should copy code content ───────────────────── tests/jupyterlab_collaborative_chat.spec.ts:259:7 › #sendMessages › should send a message using button tests/jupyterlab_collaborative_chat.spec.ts:540:9 › #messagesNavigation › navigation with new unread message › should have unread icon for new messages tests/jupyterlab_collaborative_chat.spec.ts:557:9 › #messagesNavigation › navigation with new unread message › should navigate to new unread message tests/jupyterlab_collaborative_chat.spec.ts:640:7 › #notifications › should receive notification on unread message tests/jupyterlab_collaborative_chat.spec.ts:659:7 › #notifications › should remove notification when the message is read tests/jupyterlab_collaborative_chat.spec.ts:679:7 › #notifications › should update existing notification on new message tests/jupyterlab_collaborative_chat.spec.ts:704:7 › #notifications › should remove notifications from settings tests/jupyterlab_collaborative_chat.spec.ts:746:7 › #notifications › should add unread symbol in tab label tests/jupyterlab_collaborative_chat.spec.ts:917:7 › #raw_time › time for new message should not be raw 2 skipped 54 passed (8.3m)

Artifacts

Produced during runtime
Name Size
jupyterlab_collaborative_chat-artifacts
1.65 MB
jupyterlab_collaborative_chat-playwright-tests
100 MB
jupyterlab_ws_chat-artifacts
1.33 MB
jupyterlab_ws_chat-playwright-tests
426 KB