Skip to content

Merge pull request #1474 from mito-ds/fix/ai-provider-updates #349

Merge pull request #1474 from mito-ds/fix/ai-provider-updates

Merge pull request #1474 from mito-ds/fix/ai-provider-updates #349

Triggered via push January 8, 2025 20:43
Status Success
Total duration 8m 35s
Artifacts

test-mito-ai.yml

on: push
Matrix: test-mitoai-frontend-jupyterlab
Fit to window
Zoom out
Zoom in

Annotations

12 errors, 6 warnings, and 6 notices
[chromium] › mitoai_ui_tests/mitoai.spec.ts:27:7 › Mito AI Chat › Preview and Accept AI Generated Code: tests/mitoai_ui_tests/mitoai.spec.ts#L1
1) [chromium] › mitoai_ui_tests/mitoai.spec.ts:27:7 › Mito AI Chat › Preview and Accept AI Generated Code Test timeout of 60000ms exceeded.
[chromium] › mitoai_ui_tests/mitoai.spec.ts:27:7 › Mito AI Chat › Preview and Accept AI Generated Code: tests/mitoai_ui_tests/utils.ts#L70
1) [chromium] › mitoai_ui_tests/mitoai.spec.ts:27:7 › Mito AI Chat › Preview and Accept AI Generated 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:37:29
[chromium] › mitoai_ui_tests/mitoai.spec.ts:27:7 › Mito AI Chat › Preview and Accept AI Generated Code: tests/mitoai_ui_tests/mitoai.spec.ts#L1
1) [chromium] › mitoai_ui_tests/mitoai.spec.ts:27:7 › Mito AI Chat › Preview and Accept AI Generated Code Test timeout of 60000ms exceeded.
[chromium] › mitoai_ui_tests/mitoai.spec.ts:27:7 › Mito AI Chat › Preview and Accept AI Generated Code: tests/mitoai_ui_tests/utils.ts#L70
1) [chromium] › mitoai_ui_tests/mitoai.spec.ts:27:7 › Mito AI Chat › Preview and Accept AI Generated 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:37:29
[chromium] › mitoai_ui_tests/mitoai.spec.ts:27:7 › Mito AI Chat › Preview and Accept AI Generated Code: tests/mitoai_ui_tests/mitoai.spec.ts#L1
1) [chromium] › mitoai_ui_tests/mitoai.spec.ts:27:7 › Mito AI Chat › Preview and Accept AI Generated Code Test timeout of 60000ms exceeded.
[chromium] › mitoai_ui_tests/mitoai.spec.ts:27:7 › Mito AI Chat › Preview and Accept AI Generated Code: tests/mitoai_ui_tests/utils.ts#L70
1) [chromium] › mitoai_ui_tests/mitoai.spec.ts:27:7 › Mito AI Chat › Preview and Accept AI Generated 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:37:29
[chromium] › mitoai_ui_tests/basicInlineComplete.spec.ts:27:9 › inline completion integration test › Inline completion: tests/mitoai_ui_tests/basicInlineComplete.spec.ts#L40
1) [chromium] › mitoai_ui_tests/basicInlineComplete.spec.ts:27:9 › inline completion integration test › Inline completion Error: expect(locator).toBeVisible() Locator: locator('.jp-GhostText') Expected: visible Received: <element(s) not found> Call log: - expect.soft.toBeVisible with timeout 5000ms - waiting for locator('.jp-GhostText') 38 | await page.waitForTimeout(THRESHOLD_IN_MS); 39 | > 40 | expect.soft(page.locator(GHOST_SELECTOR)).toBeVisible(); | ^ 41 | expect.soft((await page.notebook.getCellLocator(1))!.getByRole("textbox")).toContainText("def sum(a, b):"); 42 | 43 | await page.keyboard.press("Tab"); at /home/runner/work/mito/mito/tests/mitoai_ui_tests/basicInlineComplete.spec.ts:40:51
[chromium] › mitoai_ui_tests/basicInlineComplete.spec.ts:27:9 › inline completion integration test › Inline completion: tests/mitoai_ui_tests/basicInlineComplete.spec.ts#L46
1) [chromium] › mitoai_ui_tests/basicInlineComplete.spec.ts:27:9 › inline completion integration test › Inline completion Error: expect(locator).toContainText(expected) Locator: getByRole('main').locator('[role="tabpanel"][id="id-b1af5634-ff2b-48b7-890d-f2386336895b"]').locator('.jp-NotebookPanel-notebook').first().locator('.jp-Cell[data-windowed-list-index="1"]').getByRole('textbox') Expected string: "return a + b" Received string: "def sum(a, b):" Call log: - expect.toContainText with timeout 5000ms - waiting for getByRole('main').locator('[role="tabpanel"][id="id-b1af5634-ff2b-48b7-890d-f2386336895b"]').locator('.jp-NotebookPanel-notebook').first().locator('.jp-Cell[data-windowed-list-index="1"]').getByRole('textbox') 4 × locator resolved to <div tabindex="-1" translate="no" role="textbox" autocorrect="off" spellcheck="false" class="cm-content" autocapitalize="off" aria-multiline="true" contenteditable="true" data-language="python">…</div> - unexpected value "def sum(a, b):" 44 | 45 | expect.soft(page.locator(GHOST_SELECTOR)).toHaveCount(0); > 46 | expect((await page.notebook.getCellLocator(1))!.getByRole("textbox")).toContainText("return a + b"); | ^ 47 | }) 48 | }); 49 | at /home/runner/work/mito/mito/tests/mitoai_ui_tests/basicInlineComplete.spec.ts:46:79
[chromium] › mitoai_ui_tests/basicInlineComplete.spec.ts:27:9 › inline completion integration test › Inline completion: tests/mitoai_ui_tests/basicInlineComplete.spec.ts#L46
1) [chromium] › mitoai_ui_tests/basicInlineComplete.spec.ts:27:9 › inline completion integration test › Inline completion Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toContainText(expected) Locator: getByRole('main').locator('[role="tabpanel"][id="id-ecb575a8-250e-43b5-b6d0-95d182a6fbf3"]').locator('.jp-NotebookPanel-notebook').first().locator('.jp-Cell[data-windowed-list-index="1"]').getByRole('textbox') Expected string: "return a + b" Received string: "def sum(a, b):" Call log: - expect.toContainText with timeout 5000ms - waiting for getByRole('main').locator('[role="tabpanel"][id="id-ecb575a8-250e-43b5-b6d0-95d182a6fbf3"]').locator('.jp-NotebookPanel-notebook').first().locator('.jp-Cell[data-windowed-list-index="1"]').getByRole('textbox') 4 × locator resolved to <div tabindex="-1" translate="no" role="textbox" autocorrect="off" spellcheck="false" class="cm-content" autocapitalize="off" aria-multiline="true" contenteditable="true" data-language="python">…</div> - unexpected value "def sum(a, b):" 44 | 45 | expect.soft(page.locator(GHOST_SELECTOR)).toHaveCount(0); > 46 | expect((await page.notebook.getCellLocator(1))!.getByRole("textbox")).toContainText("return a + b"); | ^ 47 | }) 48 | }); 49 | at /home/runner/work/mito/mito/tests/mitoai_ui_tests/basicInlineComplete.spec.ts:46:79
[chromium] › mitoai_ui_tests/basicInlineComplete.spec.ts:27:9 › inline completion integration test › Inline completion: tests/mitoai_ui_tests/basicInlineComplete.spec.ts#L40
1) [chromium] › mitoai_ui_tests/basicInlineComplete.spec.ts:27:9 › inline completion integration test › Inline completion Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toBeVisible() Locator: locator('.jp-GhostText') Expected: visible Received: <element(s) not found> Call log: - expect.soft.toBeVisible with timeout 5000ms - waiting for locator('.jp-GhostText') 38 | await page.waitForTimeout(THRESHOLD_IN_MS); 39 | > 40 | expect.soft(page.locator(GHOST_SELECTOR)).toBeVisible(); | ^ 41 | expect.soft((await page.notebook.getCellLocator(1))!.getByRole("textbox")).toContainText("def sum(a, b):"); 42 | 43 | await page.keyboard.press("Tab"); at /home/runner/work/mito/mito/tests/mitoai_ui_tests/basicInlineComplete.spec.ts:40:51
[chromium] › mitoai_ui_tests/mitoai.spec.ts:67:7 › Mito AI Chat › Reject AI Generated Code: tests/mitoai_ui_tests/mitoai.spec.ts#L1
2) [chromium] › mitoai_ui_tests/mitoai.spec.ts:67:7 › Mito AI Chat › Reject AI Generated Code ──── Test timeout of 60000ms exceeded.
[chromium] › mitoai_ui_tests/mitoai.spec.ts:67:7 › Mito AI Chat › Reject AI Generated Code: tests/mitoai_ui_tests/utils.ts#L70
2) [chromium] › mitoai_ui_tests/mitoai.spec.ts:67:7 › Mito AI Chat › Reject AI Generated 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:73:29
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
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 skipped 26 passed (2.8m)
🎭 Playwright Run Summary
2 skipped 26 passed (2.9m)
🎭 Playwright Run Summary
1 flaky [chromium] › mitoai_ui_tests/mitoai.spec.ts:27:7 › Mito AI Chat › Preview and Accept AI Generated Code 2 skipped 25 passed (3.4m)
🎭 Playwright Run Summary
1 flaky [chromium] › mitoai_ui_tests/mitoai.spec.ts:27:7 › Mito AI Chat › Preview and Accept AI Generated Code 2 skipped 25 passed (3.3m)
🎭 Playwright Run Summary
1 flaky [chromium] › mitoai_ui_tests/mitoai.spec.ts:27:7 › Mito AI Chat › Preview and Accept AI Generated Code 2 skipped 25 passed (3.3m)
🎭 Playwright Run Summary
2 flaky [chromium] › mitoai_ui_tests/basicInlineComplete.spec.ts:27:9 › inline completion integration test › Inline completion [chromium] › mitoai_ui_tests/mitoai.spec.ts:67:7 › Mito AI Chat › Reject AI Generated Code ───── 2 skipped 24 passed (3.7m)