Release 2-8-25 #563
test-mito-ai.yml
on: pull_request
Matrix: test-mitoai-frontend-jupyterlab
Annotations
15 errors, 4 warnings, and 4 notices
[chromium] › mitoai_ui_tests/mitoai.spec.ts:186:7 › Mito AI Chat › Reject reverts preview cell to original code:
tests/mitoai_ui_tests/mitoai.spec.ts#L1
1) [chromium] › mitoai_ui_tests/mitoai.spec.ts:186:7 › Mito AI Chat › Reject reverts preview cell to original code
Test timeout of 60000ms exceeded.
|
[chromium] › mitoai_ui_tests/mitoai.spec.ts:186:7 › Mito AI Chat › Reject reverts preview cell to original code:
tests/mitoai_ui_tests/utils.ts#L70
1) [chromium] › mitoai_ui_tests/mitoai.spec.ts:186:7 › Mito AI Chat › Reject reverts preview cell to original code
Error: locator.click: Test timeout of 60000ms exceeded.
Call log:
- waiting for locator('.chat-message-buttons').getByRole('button', { name: 'Overwrite Active Cell' })
at mitoai_ui_tests/utils.ts:70
68 |
69 | export const clickPreviewButton = async (page: IJupyterLabPageFixture) => {
> 70 | await page.locator('.chat-message-buttons').getByRole('button', { name: 'Overwrite Active Cell' }).click();
| ^
71 | await waitForIdle(page);
72 | }
73 |
at clickPreviewButton (/home/runner/work/mito/mito/tests/mitoai_ui_tests/utils.ts:70:104)
at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:195:29
|
[chromium] › mitoai_ui_tests/mitoai.spec.ts:314:7 › Mito AI Chat › Active cell preview is displayed and updated when active cell changes:
tests/mitoai_ui_tests/mitoai.spec.ts#L332
2) [chromium] › mitoai_ui_tests/mitoai.spec.ts:314:7 › Mito AI Chat › Active cell preview is displayed and updated when active cell changes
Error: expect(received).toContain(expected) // indexOf
Expected substring: "print(1)"
Received string: ""
330 |
331 | const activeCellPreview = await page.locator('.active-cell-preview-container').textContent();
> 332 | expect.soft(activeCellPreview).toContain('print(1)');
| ^
333 |
334 | // After changing the selected cell, the active cell preview should update
335 | await selectCell(page, 1);
at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:332:36
|
[chromium] › mitoai_ui_tests/mitoai.spec.ts:314:7 › Mito AI Chat › Active cell preview is displayed and updated when active cell changes:
tests/mitoai_ui_tests/mitoai.spec.ts#L340
2) [chromium] › mitoai_ui_tests/mitoai.spec.ts:314:7 › Mito AI Chat › Active cell preview is displayed and updated when active cell changes
Error: expect(received).toContain(expected) // indexOf
Expected substring: "print(2)"
Received string: ""
338 |
339 | const activeCellPreview2 = await page.locator('.active-cell-preview-container').textContent();
> 340 | expect.soft(activeCellPreview2).toContain('print(2)');
| ^
341 |
342 | await page.locator('.chat-input').fill('print hello world');
343 | await page.keyboard.press('Enter');
at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:340:37
|
[chromium] › mitoai_ui_tests/mitoai.spec.ts:49:7 › Mito AI Chat › Accept using cell toolbar button:
tests/mitoai_ui_tests/mitoai.spec.ts#L1
1) [chromium] › mitoai_ui_tests/mitoai.spec.ts:49:7 › Mito AI Chat › Accept using cell toolbar button
Test timeout of 60000ms exceeded.
|
[chromium] › mitoai_ui_tests/mitoai.spec.ts:49:7 › Mito AI Chat › Accept using cell toolbar button:
tests/mitoai_ui_tests/utils.ts#L18
1) [chromium] › mitoai_ui_tests/mitoai.spec.ts:49:7 › Mito AI Chat › Accept using cell toolbar button
Error: proxy.waitForTimeout: Test timeout of 60000ms exceeded.
at mitoai_ui_tests/utils.ts:18
16 | await aiChatTab.getByRole('img').click();
17 | }
> 18 | await page.waitForTimeout(1000);
| ^
19 | }
20 |
21 | export const closeMitoAIChat = async (page: IJupyterLabPageFixture) => {
at clickOnMitoAIChatTab (/home/runner/work/mito/mito/tests/mitoai_ui_tests/utils.ts:18:16)
at sendMessageToMitoAI (/home/runner/work/mito/mito/tests/mitoai_ui_tests/utils.ts:46:5)
at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:53:5
|
[chromium] › mitoai_ui_tests/mitoai.spec.ts:82:7 › Mito AI Chat › Reject using cell toolbar button:
tests/mitoai_ui_tests/mitoai.spec.ts#L1
1) [chromium] › mitoai_ui_tests/mitoai.spec.ts:82:7 › Mito AI Chat › Reject using cell toolbar button
Test timeout of 60000ms exceeded.
|
[chromium] › mitoai_ui_tests/mitoai.spec.ts:101:7 › Mito AI Chat › Edit Message:
tests/mitoai_ui_tests/mitoai.spec.ts#L1
2) [chromium] › mitoai_ui_tests/mitoai.spec.ts:101:7 › Mito AI Chat › Edit Message ───────────────
Test timeout of 60000ms exceeded.
|
[chromium] › mitoai_ui_tests/mitoai.spec.ts:101:7 › Mito AI Chat › Edit Message:
tests/mitoai_ui_tests/mitoai.spec.ts#L134
2) [chromium] › mitoai_ui_tests/mitoai.spec.ts:101:7 › Mito AI Chat › Edit Message ───────────────
Error: expect(locator).not.toBeVisible()
Locator: locator('.message-assistant').getByRole('button', { name: 'Save' })
Expected: not visible
Received: visible
Call log:
- expect.not.toBeVisible with timeout 5000ms
- waiting for locator('.message-assistant').getByRole('button', { name: 'Save' })
132 | await expect(page.locator('.message-assistant .message-edit-button')).not.toBeVisible();
133 | await page.locator('.message-assistant p').last().dblclick();
> 134 | await expect(page.locator('.message-assistant').getByRole('button', { name: 'Save' })).not.toBeVisible();
| ^
135 | });
136 |
137 | test('Code diffs are automatically rejected before new messages are sent', async ({ page }) => {
at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:134:96
|
[chromium] › mitoai_ui_tests/mitoai.spec.ts:82:7 › Mito AI Chat › Reject using cell toolbar button:
tests/mitoai_ui_tests/mitoai.spec.ts#L1
1) [chromium] › mitoai_ui_tests/mitoai.spec.ts:82:7 › Mito AI Chat › Reject using cell toolbar button
Test timeout of 60000ms exceeded.
|
[chromium] › mitoai_ui_tests/mitoai.spec.ts:82:7 › Mito AI Chat › Reject using cell toolbar button:
tests/mitoai_ui_tests/utils.ts#L10
1) [chromium] › mitoai_ui_tests/mitoai.spec.ts:82:7 › Mito AI Chat › Reject using cell toolbar button
Error: proxy.waitForTimeout: Test timeout of 60000ms exceeded.
at mitoai_ui_tests/utils.ts:10
8 |
9 | export const clickOnMitoAIChatTab = async (page: IJupyterLabPageFixture) => {
> 10 | await page.waitForTimeout(1000);
| ^
11 |
12 | // Click the AI Chat tab if it's not already selected
13 | const aiChatTab = await page.getByRole('tab', { name: 'AI Chat for your JupyterLab' });
at clickOnMitoAIChatTab (/home/runner/work/mito/mito/tests/mitoai_ui_tests/utils.ts:10:16)
at sendMessageToMitoAI (/home/runner/work/mito/mito/tests/mitoai_ui_tests/utils.ts:46:11)
at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:86:30
|
[chromium] › mitoai_ui_tests/mitoai.spec.ts:101:7 › Mito AI Chat › Edit Message:
tests/mitoai_ui_tests/mitoai.spec.ts#L1
2) [chromium] › mitoai_ui_tests/mitoai.spec.ts:101:7 › Mito AI Chat › Edit Message ───────────────
Test timeout of 60000ms exceeded.
|
[chromium] › mitoai_ui_tests/mitoai.spec.ts:101:7 › Mito AI Chat › Edit Message:
tests/mitoai_ui_tests/utils.ts#L10
2) [chromium] › mitoai_ui_tests/mitoai.spec.ts:101:7 › Mito AI Chat › Edit Message ───────────────
Error: proxy.waitForTimeout: Test timeout of 60000ms exceeded.
at mitoai_ui_tests/utils.ts:10
8 |
9 | export const clickOnMitoAIChatTab = async (page: IJupyterLabPageFixture) => {
> 10 | await page.waitForTimeout(1000);
| ^
11 |
12 | // Click the AI Chat tab if it's not already selected
13 | const aiChatTab = await page.getByRole('tab', { name: 'AI Chat for your JupyterLab' });
at clickOnMitoAIChatTab (/home/runner/work/mito/mito/tests/mitoai_ui_tests/utils.ts:10:16)
at sendMessageToMitoAI (/home/runner/work/mito/mito/tests/mitoai_ui_tests/utils.ts:46:11)
at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:113:30
|
[chromium] › mitoai_ui_tests/mitoai.spec.ts:211:7 › Mito AI Chat › No Code blocks are displayed when active cell is empty:
tests/mitoai_ui_tests/mitoai.spec.ts#L220
3) [chromium] › mitoai_ui_tests/mitoai.spec.ts:211:7 › Mito AI Chat › No Code blocks are displayed when active cell is empty
Error: expect(received).toBe(expected) // Object.is equality
Expected: 1
Received: 0
218 | // It should be in the AI response message, which means that it is not in the user's message.
219 | const codeMessagePartContainersCount = await page.locator('.code-block-container').count();
> 220 | expect(codeMessagePartContainersCount).toBe(1);
| ^
221 | });
222 |
223 | test('Fix error button', async ({ page }) => {
at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:220:44
|
[chromium] › mitoai_ui_tests/mitoai.spec.ts:281:7 › Mito AI Chat › Unserializable objects are handled correctly:
tests/mitoai_ui_tests/mitoai.spec.ts#L307
4) [chromium] › mitoai_ui_tests/mitoai.spec.ts:281:7 › Mito AI Chat › Unserializable objects are handled correctly
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.chat-dropdown-item-name').filter({ hasText: 'none_type_df' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.chat-dropdown-item-name').filter({ hasText: 'none_type_df' })
305 |
306 | await page.keyboard.type("@none_type_df");
> 307 | await expect(page.locator('.chat-dropdown-item-name').filter({ hasText: 'none_type_df' })).toBeVisible();
| ^
308 | await clearMitoAIChatInput(page);
309 |
310 | await page.keyboard.type("@none_type_col_A");
at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:307:96
|
Playwright
You are using a frozen webkit browser which does not receive updates anymore on ubuntu20.04-x64. Please update to the latest version of your operating system to test up-to-date browsers.
|
Playwright
You are using a frozen webkit browser which does not receive updates anymore on ubuntu20.04-x64. Please update to the latest version of your operating system to test up-to-date browsers.
|
Playwright
You are using a frozen webkit browser which does not receive updates anymore on ubuntu20.04-x64. Please update to the latest version of your operating system to test up-to-date browsers.
|
Playwright
You are using a frozen webkit browser which does not receive updates anymore on ubuntu20.04-x64. Please update to the latest version of your operating system to test up-to-date browsers.
|
🎭 Playwright Run Summary
2 flaky
[chromium] › mitoai_ui_tests/mitoai.spec.ts:186:7 › Mito AI Chat › Reject reverts preview cell to original code
[chromium] › mitoai_ui_tests/mitoai.spec.ts:314:7 › Mito AI Chat › Active cell preview is displayed and updated when active cell changes
3 skipped
26 passed (4.2m)
|
🎭 Playwright Run Summary
1 flaky
[chromium] › mitoai_ui_tests/mitoai.spec.ts:49:7 › Mito AI Chat › Accept using cell toolbar button
3 skipped
27 passed (4.4m)
|
🎭 Playwright Run Summary
2 flaky
[chromium] › mitoai_ui_tests/mitoai.spec.ts:82:7 › Mito AI Chat › Reject using cell toolbar button
[chromium] › mitoai_ui_tests/mitoai.spec.ts:101:7 › Mito AI Chat › Edit Message ────────────────
3 skipped
26 passed (4.9m)
|
🎭 Playwright Run Summary
4 flaky
[chromium] › mitoai_ui_tests/mitoai.spec.ts:82:7 › Mito AI Chat › Reject using cell toolbar button
[chromium] › mitoai_ui_tests/mitoai.spec.ts:101:7 › Mito AI Chat › Edit Message ────────────────
[chromium] › mitoai_ui_tests/mitoai.spec.ts:211:7 › Mito AI Chat › No Code blocks are displayed when active cell is empty
[chromium] › mitoai_ui_tests/mitoai.spec.ts:281:7 › Mito AI Chat › Unserializable objects are handled correctly
3 skipped
24 passed (5.2m)
|