Skip to content

Mito AI: Restore chat on refresh #433

Mito AI: Restore chat on refresh

Mito AI: Restore chat on refresh #433

Triggered via pull request January 23, 2025 03:57
Status Failure
Total duration 9m 23s
Artifacts 4

test-mito-ai.yml

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

Annotations

42 errors, 8 warnings, and 4 notices
test-mitoai-frontend-jupyterlab (3.8, false)
Process completed with exit code 1.
test-mitoai-frontend-jupyterlab (3.8, true)
Process completed with exit code 1.
[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-cf9fd180-8f3d-44ed-8d93-ac96869ee614"]').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-cf9fd180-8f3d-44ed-8d93-ac96869ee614"]').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-2e0375e3-3ac4-4f63-82b9-51c04885fc2c"]').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-2e0375e3-3ac4-4f63-82b9-51c04885fc2c"]').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/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 #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toContainText(expected) Locator: getByRole('main').locator('[role="tabpanel"][id="id-b0b2577d-9a12-4506-9a1b-f70d805ee556"]').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-b0b2577d-9a12-4506-9a1b-f70d805ee556"]').locator('.jp-NotebookPanel-notebook').first().locator('.jp-Cell[data-windowed-list-index="1"]').getByRole('textbox') 3 × 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 #2 ─────────────────────────────────────────────────────────────────────────────────────── 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 Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toContainText(expected) Locator: getByRole('main').locator('[role="tabpanel"][id="id-8f9085f7-03db-4076-b501-cc26e08dd0d5"]').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-8f9085f7-03db-4076-b501-cc26e08dd0d5"]').locator('.jp-NotebookPanel-notebook').first().locator('.jp-Cell[data-windowed-list-index="1"]').getByRole('textbox') 3 × 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 #3 ─────────────────────────────────────────────────────────────────────────────────────── 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:211:7 › Mito AI Chat › No Code blocks are displayed when active cell is empty: tests/mitoai_ui_tests/mitoai.spec.ts#L220
2) [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: 8 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:211:7 › Mito AI Chat › No Code blocks are displayed when active cell is empty: tests/mitoai_ui_tests/mitoai.spec.ts#L220
2) [chromium] › mitoai_ui_tests/mitoai.spec.ts:211:7 › Mito AI Chat › No Code blocks are displayed when active cell is empty Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 1 Received: 2 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/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-a7f3c47b-d987-44a9-9934-c0ffca41a0ad"]').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-a7f3c47b-d987-44a9-9934-c0ffca41a0ad"]').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-1520245e-3c0f-4dc3-a9b0-8d4643c81673"]').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-1520245e-3c0f-4dc3-a9b0-8d4643c81673"]').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/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 #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toContainText(expected) Locator: getByRole('main').locator('[role="tabpanel"][id="id-dc36da58-2f66-4e02-993f-387022f6dae7"]').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-dc36da58-2f66-4e02-993f-387022f6dae7"]').locator('.jp-NotebookPanel-notebook').first().locator('.jp-Cell[data-windowed-list-index="1"]').getByRole('textbox') 3 × 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 #2 ─────────────────────────────────────────────────────────────────────────────────────── 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 Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toContainText(expected) Locator: getByRole('main').locator('[role="tabpanel"][id="id-ff11c306-0685-4381-9b58-515f609dc127"]').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-ff11c306-0685-4381-9b58-515f609dc127"]').locator('.jp-NotebookPanel-notebook').first().locator('.jp-Cell[data-windowed-list-index="1"]').getByRole('textbox') 3 × 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 #3 ─────────────────────────────────────────────────────────────────────────────────────── 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:211:7 › Mito AI Chat › No Code blocks are displayed when active cell is empty: tests/mitoai_ui_tests/mitoai.spec.ts#L220
2) [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: 8 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:211:7 › Mito AI Chat › No Code blocks are displayed when active cell is empty: tests/mitoai_ui_tests/mitoai.spec.ts#L220
2) [chromium] › mitoai_ui_tests/mitoai.spec.ts:211:7 › Mito AI Chat › No Code blocks are displayed when active cell is empty Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 1 Received: 3 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/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-e5da1578-a2c6-4ec1-bf4d-fe1112f8fc03"]').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-e5da1578-a2c6-4ec1-bf4d-fe1112f8fc03"]').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-d828c9d0-4c99-4dfb-9351-359b8aef8982"]').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-d828c9d0-4c99-4dfb-9351-359b8aef8982"]').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/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 #2 ─────────────────────────────────────────────────────────────────────────────────────── 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 Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toContainText(expected) Locator: getByRole('main').locator('[role="tabpanel"][id="id-54b34847-8403-4ce4-9ff5-344b77314114"]').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-54b34847-8403-4ce4-9ff5-344b77314114"]').locator('.jp-NotebookPanel-notebook').first().locator('.jp-Cell[data-windowed-list-index="1"]').getByRole('textbox') 3 × 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 #3 ─────────────────────────────────────────────────────────────────────────────────────── 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 Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toContainText(expected) Locator: getByRole('main').locator('[role="tabpanel"][id="id-443eb792-3bb0-4d55-a088-54d2d9eef3d8"]').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-443eb792-3bb0-4d55-a088-54d2d9eef3d8"]').locator('.jp-NotebookPanel-notebook').first().locator('.jp-Cell[data-windowed-list-index="1"]').getByRole('textbox') 3 × 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/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
2) [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: 7 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:211:7 › Mito AI Chat › No Code blocks are displayed when active cell is empty: tests/mitoai_ui_tests/mitoai.spec.ts#L220
2) [chromium] › mitoai_ui_tests/mitoai.spec.ts:211:7 › Mito AI Chat › No Code blocks are displayed when active cell is empty Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 1 Received: 10 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/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-32a26bd2-8768-496a-be50-0cf985ef6dc6"]').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-32a26bd2-8768-496a-be50-0cf985ef6dc6"]').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-a2b9827f-c55e-4dc2-ba39-b6e0daa169be"]').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-a2b9827f-c55e-4dc2-ba39-b6e0daa169be"]').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/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 #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toContainText(expected) Locator: getByRole('main').locator('[role="tabpanel"][id="id-37fd4d6d-93fe-4d12-8167-2a227dba8ea4"]').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-37fd4d6d-93fe-4d12-8167-2a227dba8ea4"]').locator('.jp-NotebookPanel-notebook').first().locator('.jp-Cell[data-windowed-list-index="1"]').getByRole('textbox') 3 × 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 #2 ─────────────────────────────────────────────────────────────────────────────────────── 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#L40
1) [chromium] › mitoai_ui_tests/basicInlineComplete.spec.ts:27:9 › inline completion integration test › Inline completion Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── 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 Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toContainText(expected) Locator: getByRole('main').locator('[role="tabpanel"][id="id-a7d21023-a0b9-49ca-8ed5-4799bcad6a10"]').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-a7d21023-a0b9-49ca-8ed5-4799bcad6a10"]').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/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
2) [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: 7 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:211:7 › Mito AI Chat › No Code blocks are displayed when active cell is empty: tests/mitoai_ui_tests/mitoai.spec.ts#L220
2) [chromium] › mitoai_ui_tests/mitoai.spec.ts:211:7 › Mito AI Chat › No Code blocks are displayed when active cell is empty Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 1 Received: 2 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
test-mitoai-frontend-jupyterlab (3.8, false)
No files were found with the provided path: tests/playwright-report/. No artifacts will be uploaded.
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.
test-mitoai-frontend-jupyterlab (3.8, true)
No files were found with the provided path: tests/playwright-report/. No artifacts will be uploaded.
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
3 failed [chromium] › mitoai_ui_tests/basicInlineComplete.spec.ts:27:9 › inline completion integration test › Inline completion [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/shortcuts.spec.ts:24:9 › Mito AI Shortcuts › Accept AI generated code 2 skipped 23 passed (4.7m)
🎭 Playwright Run Summary
3 failed [chromium] › mitoai_ui_tests/basicInlineComplete.spec.ts:27:9 › inline completion integration test › Inline completion [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/shortcuts.spec.ts:24:9 › Mito AI Shortcuts › Accept AI generated code 2 skipped 23 passed (4.7m)
🎭 Playwright Run Summary
3 failed [chromium] › mitoai_ui_tests/basicInlineComplete.spec.ts:27:9 › inline completion integration test › Inline completion [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/shortcuts.spec.ts:24:9 › Mito AI Shortcuts › Accept AI generated code 2 skipped 23 passed (4.8m)
🎭 Playwright Run Summary
3 failed [chromium] › mitoai_ui_tests/basicInlineComplete.spec.ts:27:9 › inline completion integration test › Inline completion [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/shortcuts.spec.ts:24:9 › Mito AI Shortcuts › Accept AI generated code 2 skipped 23 passed (4.7m)

Artifacts

Produced during runtime
Name Size
mitoai-jupyterlab-playwright-report-3.10-false-12921964845
16.5 MB
mitoai-jupyterlab-playwright-report-3.10-true-12921964845
16 MB
mitoai-jupyterlab-playwright-report-3.12-false-12921964845
16.7 MB
mitoai-jupyterlab-playwright-report-3.12-true-12921964845
16.9 MB