Agent Mode: v1 Polish #604
Annotations
7 errors, 2 warnings, and 1 notice
Start a server and run tests:
tests/mitoai_ui_tests/agent.spec.ts#L120
1) [chromium] › mitoai_ui_tests/agent.spec.ts:78:9 › Agent mode integration tests › Run agent's plan
Error: expect(received).toContain(expected) // indexOf
Expected value: "def say_hi(): print(\"hi\") say_hi()"
Received array: ["
", "
", "def say_hi():
print(\"hi\")··
say_hi()", "Start writing python or Press Ctrl + E to ask Mito AI to write code for you.
"]
118 | // Ensure all code snippets are in the notebook
119 | codeSnippetsFromChatMessages.forEach(codeSnippet => {
> 120 | expect(codeFromCells).toContain(codeSnippet);
| ^
121 | });
122 | });
123 |
at forEach (/home/runner/work/mito/mito/tests/mitoai_ui_tests/agent.spec.ts:120:35)
at /home/runner/work/mito/mito/tests/mitoai_ui_tests/agent.spec.ts:119:38
|
Start a server and run tests:
tests/mitoai_ui_tests/agent.spec.ts#L120
1) [chromium] › mitoai_ui_tests/agent.spec.ts:78:9 › Agent mode integration tests › Run agent's plan
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toContain(expected) // indexOf
Expected value: "print(\"hi\")"
Received array: ["
", "
"]
118 | // Ensure all code snippets are in the notebook
119 | codeSnippetsFromChatMessages.forEach(codeSnippet => {
> 120 | expect(codeFromCells).toContain(codeSnippet);
| ^
121 | });
122 | });
123 |
at forEach (/home/runner/work/mito/mito/tests/mitoai_ui_tests/agent.spec.ts:120:35)
at /home/runner/work/mito/mito/tests/mitoai_ui_tests/agent.spec.ts:119:38
|
Start a server and run tests:
tests/mitoai_ui_tests/basicInlineComplete.spec.ts#L1
2) [chromium] › mitoai_ui_tests/basicInlineComplete.spec.ts:21:9 › inline completion integration test › Inline completion
Error: "apiRequestContext.fetch: Target page, context or browser has been closed
Call log:
- → GET http://localhost:8888/api/sessions?1739568804983
- user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.33 Safari/537.36
- accept: */*
- accept-encoding: gzip,deflate,br
- accept-language: en-US
- content-type: application/json
- cookie: username-localhost-8888="2|1:0|10:1739568790|23:username-localhost-8888|200:eyJ1c2VybmFtZSI6ICJkNzJiZjUwMzgwMGE0MjA5YTQwZjRlNGY3NGU3MTQxMiIsICJuYW1lIjogIkFub255bW91cyBIZWdlbW9uZSIsICJkaXNwbGF5X25hbWUiOiAiQW5vbnltb3VzIEhlZ2Vtb25lIiwgImluaXRpYWxzIjogIkFIIiwgImNvbG9yIjogbnVsbH0=|ce0d16e9d0baefa4f937b2e21f5fa5e150d011cb4540c43d5aed8ba1286ca619"; _xsrf=2|307810e0|bfbc09f513bf4d38b8a5af4982f9a9cc|1739568790
- referer: http://localhost:8888/lab/tree/mitoai_ui_tests-basicInlin-50c30-tion-test-Inline-completion-chromium/%24test_file_idml6jk044e.ipynb
- x-xsrftoken: 2|307810e0|bfbc09f513bf4d38b8a5af4982f9a9cc|1739568790
- sec-ch-ua: "HeadlessChrome";v="131", "Chromium";v="131", "Not_A Brand";v="24"
- sec-ch-ua-mobile: ?0
- sec-ch-ua-platform: "Windows"
" while running route callback.
Consider awaiting `await page.unrouteAll({ behavior: 'ignoreErrors' })`
before the end of the test to ignore remaining routes in flight.
at /home/runner/work/mito/mito/tests/node_modules/@jupyterlab/galata/src/galata.ts:891:51
|
Start a server and run tests:
tests/mitoai_ui_tests/mitoai.spec.ts#L1
3) [chromium] › mitoai_ui_tests/mitoai.spec.ts:355:7 › Mito AI Chat › Restore message history ────
Test timeout of 60000ms exceeded.
|
Start a server and run tests:
tests/mitoai_ui_tests/mitoai.spec.ts#L376
3) [chromium] › mitoai_ui_tests/mitoai.spec.ts:355:7 › Mito AI Chat › Restore message history ────
Error: locator.click: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Select Kernel' })
374 | await page.reload({waitForIsReady: false});
375 | await Promise.all([
> 376 | page.getByRole('button', { name: 'Select Kernel' }).click(),
| ^
377 | waitForIdle(page)
378 | ]);
379 |
at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:376:59
|
Start a server and run tests:
tests/mitoai_ui_tests/mitoai.spec.ts#L1
3) [chromium] › mitoai_ui_tests/mitoai.spec.ts:355:7 › Mito AI Chat › Restore message history ────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 60000ms exceeded.
|
Start a server and run tests:
tests/mitoai_ui_tests/mitoai.spec.ts#L376
3) [chromium] › mitoai_ui_tests/mitoai.spec.ts:355:7 › Mito AI Chat › Restore message history ────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Select Kernel' })
374 | await page.reload({waitForIsReady: false});
375 | await Promise.all([
> 376 | page.getByRole('button', { name: 'Select Kernel' }).click(),
| ^
377 | waitForIdle(page)
378 | ]);
379 |
at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:376:59
|
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
|
Install dependencies
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.
|
Start a server and run tests
3 flaky
[chromium] › mitoai_ui_tests/agent.spec.ts:78:9 › Agent mode integration tests › Run agent's plan
[chromium] › mitoai_ui_tests/basicInlineComplete.spec.ts:21:9 › inline completion integration test › Inline completion
[chromium] › mitoai_ui_tests/mitoai.spec.ts:355:7 › Mito AI Chat › Restore message history ─────
3 skipped
31 passed (10.9m)
|
Loading