Merge pull request #1510 from mito-ds/fix/openai-timeout #562
Annotations
5 errors, 4 warnings, and 4 notices
[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
1) [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:281:7 › Mito AI Chat › Unserializable objects are handled correctly:
tests/mitoai_ui_tests/mitoai.spec.ts#L307
1) [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
|
[chromium] › mitoai_ui_tests/mitoai.spec.ts:137:7 › Mito AI Chat › Code diffs are automatically rejected before new messages are sent:
tests/mitoai_ui_tests/mitoai.spec.ts#L1
1) [chromium] › mitoai_ui_tests/mitoai.spec.ts:137:7 › Mito AI Chat › Code diffs are automatically rejected before new messages are sent
Test timeout of 60000ms exceeded.
|
[chromium] › mitoai_ui_tests/mitoai.spec.ts:137:7 › Mito AI Chat › Code diffs are automatically rejected before new messages are sent:
tests/mitoai_ui_tests/utils.ts#L70
1) [chromium] › mitoai_ui_tests/mitoai.spec.ts:137:7 › Mito AI Chat › Code diffs are automatically rejected before new messages are sent
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:149:29
|
[chromium] › mitoai_ui_tests/mitoai.spec.ts:256:7 › Mito AI Chat › Explain code button:
tests/mitoai_ui_tests/mitoai.spec.ts#L264
1) [chromium] › mitoai_ui_tests/mitoai.spec.ts:256:7 › Mito AI Chat › Explain code button ────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('.message-assistant')
Expected: 1
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('.message-assistant')
9 × locator resolved to 0 elements
- unexpected value "0"
262 | await page.getByRole('button', { name: 'Explain code in AI Chat' }).click();
263 | await waitForIdle(page);
> 264 | await expect(page.locator('.message-assistant')).toHaveCount(1);
| ^
265 | });
266 |
267 | test('Variable dropdown shows correct variables', async ({ page }) => {
at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:264:54
|
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
1 flaky
[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
27 passed (3.5m)
|
🎭 Playwright Run Summary
1 flaky
[chromium] › mitoai_ui_tests/mitoai.spec.ts:281:7 › Mito AI Chat › Unserializable objects are handled correctly
3 skipped
27 passed (3.6m)
|
🎭 Playwright Run Summary
1 flaky
[chromium] › mitoai_ui_tests/mitoai.spec.ts:137:7 › Mito AI Chat › Code diffs are automatically rejected before new messages are sent
3 skipped
27 passed (4.0m)
|
🎭 Playwright Run Summary
1 flaky
[chromium] › mitoai_ui_tests/mitoai.spec.ts:256:7 › Mito AI Chat › Explain code button ─────────
3 skipped
27 passed (3.7m)
|