Send with selection #307
Annotations
10 errors, 2 warnings, and 1 notice
Execute integration tests:
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
|
Execute integration tests:
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
|
Execute integration tests:
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
|
Execute integration tests:
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
|
Execute integration tests:
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
|
Execute integration tests:
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
|
Execute integration tests:
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
|
Execute integration tests:
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
|
Execute integration tests:
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
|
Execute integration tests:
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
|
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/
|
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/
|
Execute integration tests
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)
|
Loading