Skip to content

Add first demonstrator of inline completion #102

Add first demonstrator of inline completion

Add first demonstrator of inline completion #102

Triggered via pull request November 28, 2024 16:59
Status Failure
Total duration 7m 3s
Artifacts 3

test-mito-ai.yml

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

Annotations

60 errors, 1 warning, and 6 notices
[chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion: tests/mitoai_ui_tests/aiInlineCompleter.spec.ts#L64
1) [chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion TypeError: page.routeWebSocket is not a function 62 | const replyDone = new PromiseDelegate<void>(); 63 | // Mock completion request with code prefix 'def fib' > 64 | await page.routeWebSocket(/.*\/mito-ai\/inline-completion/, ws => { | ^ 65 | ws.onMessage(message => { 66 | const payload = JSON.parse(message as string); 67 | const messageId = payload.number; at /home/runner/work/mito/mito/tests/mitoai_ui_tests/aiInlineCompleter.spec.ts:64:16
[chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion: tests/mitoai_ui_tests/aiInlineCompleter.spec.ts#L64
1) [chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: page.routeWebSocket is not a function 62 | const replyDone = new PromiseDelegate<void>(); 63 | // Mock completion request with code prefix 'def fib' > 64 | await page.routeWebSocket(/.*\/mito-ai\/inline-completion/, ws => { | ^ 65 | ws.onMessage(message => { 66 | const payload = JSON.parse(message as string); 67 | const messageId = payload.number; at /home/runner/work/mito/mito/tests/mitoai_ui_tests/aiInlineCompleter.spec.ts:64:16
[chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion: tests/mitoai_ui_tests/aiInlineCompleter.spec.ts#L64
1) [chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: page.routeWebSocket is not a function 62 | const replyDone = new PromiseDelegate<void>(); 63 | // Mock completion request with code prefix 'def fib' > 64 | await page.routeWebSocket(/.*\/mito-ai\/inline-completion/, ws => { | ^ 65 | ws.onMessage(message => { 66 | const payload = JSON.parse(message as string); 67 | const messageId = payload.number; at /home/runner/work/mito/mito/tests/mitoai_ui_tests/aiInlineCompleter.spec.ts:64:16
[chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion: tests/mitoai_ui_tests/aiInlineCompleter.spec.ts#L64
1) [chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: page.routeWebSocket is not a function 62 | const replyDone = new PromiseDelegate<void>(); 63 | // Mock completion request with code prefix 'def fib' > 64 | await page.routeWebSocket(/.*\/mito-ai\/inline-completion/, ws => { | ^ 65 | ws.onMessage(message => { 66 | const payload = JSON.parse(message as string); 67 | const messageId = payload.number; at /home/runner/work/mito/mito/tests/mitoai_ui_tests/aiInlineCompleter.spec.ts:64:16
[chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code: tests/mitoai_ui_tests/mitoai.spec.ts#L21
2) [chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code ───── Error: expect(received).toContain(expected) // indexOf Expected substring: "df[\"C\"] = [7, 8, 9]" Received string: "!jupyter server extension enable mito_ai" 19 | 20 | const code = await getCodeFromCell(page, 1); > 21 | expect(code).toContain('df["C"] = [7, 8, 9]'); | ^ 22 | }); 23 | 24 | test('Reject AI Generated Code', async ({ page }) => { at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:21:18
[chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code: tests/mitoai_ui_tests/mitoai.spec.ts#L21
2) [chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code ───── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "df[\"C\"] = [7, 8, 9]" Received string: "!jupyter server extension enable mito_ai" 19 | 20 | const code = await getCodeFromCell(page, 1); > 21 | expect(code).toContain('df["C"] = [7, 8, 9]'); | ^ 22 | }); 23 | 24 | test('Reject AI Generated Code', async ({ page }) => { at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:21:18
[chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code: tests/mitoai_ui_tests/mitoai.spec.ts#L21
2) [chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code ───── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "df[\"C\"] = [7, 8, 9]" Received string: "!jupyter server extension enable mito_ai" 19 | 20 | const code = await getCodeFromCell(page, 1); > 21 | expect(code).toContain('df["C"] = [7, 8, 9]'); | ^ 22 | }); 23 | 24 | test('Reject AI Generated Code', async ({ page }) => { at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:21:18
[chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code: tests/mitoai_ui_tests/mitoai.spec.ts#L21
2) [chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code ───── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "df[\"C\"] = [7, 8, 9]" Received string: "!jupyter server extension enable mito_ai" 19 | 20 | const code = await getCodeFromCell(page, 1); > 21 | expect(code).toContain('df["C"] = [7, 8, 9]'); | ^ 22 | }); 23 | 24 | test('Reject AI Generated Code', async ({ page }) => { at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:21:18
[chromium] › mitoai_ui_tests/mitoai.spec.ts:38:7 › Mito AI Chat › Edit Message: tests/mitoai_ui_tests/mitoai.spec.ts#L58
3) [chromium] › mitoai_ui_tests/mitoai.spec.ts:38:7 › Mito AI Chat › Edit Message ──────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "df[\"C_edited\"] = [7, 8, 9]" Received string: "!jupyter server extension enable mito_ai" 56 | 57 | const code = await getCodeFromCell(page, 1); > 58 | expect(code).toContain('df["C_edited"] = [7, 8, 9]'); | ^ 59 | 60 | // Ensure previous messages are removed. 61 | const messageAssistantDivs = await page.locator('.message.message-assistant').count(); at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:58:18
[chromium] › mitoai_ui_tests/mitoai.spec.ts:38:7 › Mito AI Chat › Edit Message: tests/mitoai_ui_tests/mitoai.spec.ts#L58
3) [chromium] › mitoai_ui_tests/mitoai.spec.ts:38:7 › Mito AI Chat › Edit Message ──────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "df[\"C_edited\"] = [7, 8, 9]" Received string: "!jupyter server extension enable mito_ai" 56 | 57 | const code = await getCodeFromCell(page, 1); > 58 | expect(code).toContain('df["C_edited"] = [7, 8, 9]'); | ^ 59 | 60 | // Ensure previous messages are removed. 61 | const messageAssistantDivs = await page.locator('.message.message-assistant').count(); at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:58:18
[chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion: tests/mitoai_ui_tests/aiInlineCompleter.spec.ts#L64
1) [chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion TypeError: page.routeWebSocket is not a function 62 | const replyDone = new PromiseDelegate<void>(); 63 | // Mock completion request with code prefix 'def fib' > 64 | await page.routeWebSocket(/.*\/mito-ai\/inline-completion/, ws => { | ^ 65 | ws.onMessage(message => { 66 | const payload = JSON.parse(message as string); 67 | const messageId = payload.number; at /home/runner/work/mito/mito/tests/mitoai_ui_tests/aiInlineCompleter.spec.ts:64:16
[chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion: tests/mitoai_ui_tests/aiInlineCompleter.spec.ts#L64
1) [chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: page.routeWebSocket is not a function 62 | const replyDone = new PromiseDelegate<void>(); 63 | // Mock completion request with code prefix 'def fib' > 64 | await page.routeWebSocket(/.*\/mito-ai\/inline-completion/, ws => { | ^ 65 | ws.onMessage(message => { 66 | const payload = JSON.parse(message as string); 67 | const messageId = payload.number; at /home/runner/work/mito/mito/tests/mitoai_ui_tests/aiInlineCompleter.spec.ts:64:16
[chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion: tests/mitoai_ui_tests/aiInlineCompleter.spec.ts#L64
1) [chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: page.routeWebSocket is not a function 62 | const replyDone = new PromiseDelegate<void>(); 63 | // Mock completion request with code prefix 'def fib' > 64 | await page.routeWebSocket(/.*\/mito-ai\/inline-completion/, ws => { | ^ 65 | ws.onMessage(message => { 66 | const payload = JSON.parse(message as string); 67 | const messageId = payload.number; at /home/runner/work/mito/mito/tests/mitoai_ui_tests/aiInlineCompleter.spec.ts:64:16
[chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion: tests/mitoai_ui_tests/aiInlineCompleter.spec.ts#L64
1) [chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: page.routeWebSocket is not a function 62 | const replyDone = new PromiseDelegate<void>(); 63 | // Mock completion request with code prefix 'def fib' > 64 | await page.routeWebSocket(/.*\/mito-ai\/inline-completion/, ws => { | ^ 65 | ws.onMessage(message => { 66 | const payload = JSON.parse(message as string); 67 | const messageId = payload.number; at /home/runner/work/mito/mito/tests/mitoai_ui_tests/aiInlineCompleter.spec.ts:64:16
[chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code: tests/mitoai_ui_tests/mitoai.spec.ts#L21
2) [chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code ───── Error: expect(received).toContain(expected) // indexOf Expected substring: "df[\"C\"] = [7, 8, 9]" Received string: "!jupyter server extension enable mito_ai" 19 | 20 | const code = await getCodeFromCell(page, 1); > 21 | expect(code).toContain('df["C"] = [7, 8, 9]'); | ^ 22 | }); 23 | 24 | test('Reject AI Generated Code', async ({ page }) => { at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:21:18
[chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code: tests/mitoai_ui_tests/mitoai.spec.ts#L21
2) [chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code ───── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "df[\"C\"] = [7, 8, 9]" Received string: "!jupyter server extension enable mito_ai" 19 | 20 | const code = await getCodeFromCell(page, 1); > 21 | expect(code).toContain('df["C"] = [7, 8, 9]'); | ^ 22 | }); 23 | 24 | test('Reject AI Generated Code', async ({ page }) => { at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:21:18
[chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code: tests/mitoai_ui_tests/mitoai.spec.ts#L21
2) [chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code ───── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "df[\"C\"] = [7, 8, 9]" Received string: "!jupyter server extension enable mito_ai" 19 | 20 | const code = await getCodeFromCell(page, 1); > 21 | expect(code).toContain('df["C"] = [7, 8, 9]'); | ^ 22 | }); 23 | 24 | test('Reject AI Generated Code', async ({ page }) => { at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:21:18
[chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code: tests/mitoai_ui_tests/mitoai.spec.ts#L21
2) [chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code ───── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "df[\"C\"] = [7, 8, 9]" Received string: "!jupyter server extension enable mito_ai" 19 | 20 | const code = await getCodeFromCell(page, 1); > 21 | expect(code).toContain('df["C"] = [7, 8, 9]'); | ^ 22 | }); 23 | 24 | test('Reject AI Generated Code', async ({ page }) => { at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:21:18
[chromium] › mitoai_ui_tests/mitoai.spec.ts:38:7 › Mito AI Chat › Edit Message: tests/mitoai_ui_tests/mitoai.spec.ts#L58
3) [chromium] › mitoai_ui_tests/mitoai.spec.ts:38:7 › Mito AI Chat › Edit Message ──────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "df[\"C_edited\"] = [7, 8, 9]" Received string: "!jupyter server extension enable mito_ai" 56 | 57 | const code = await getCodeFromCell(page, 1); > 58 | expect(code).toContain('df["C_edited"] = [7, 8, 9]'); | ^ 59 | 60 | // Ensure previous messages are removed. 61 | const messageAssistantDivs = await page.locator('.message.message-assistant').count(); at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:58:18
[chromium] › mitoai_ui_tests/mitoai.spec.ts:38:7 › Mito AI Chat › Edit Message: tests/mitoai_ui_tests/mitoai.spec.ts#L58
3) [chromium] › mitoai_ui_tests/mitoai.spec.ts:38:7 › Mito AI Chat › Edit Message ──────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "df[\"C_edited\"] = [7, 8, 9]" Received string: "!jupyter server extension enable mito_ai" 56 | 57 | const code = await getCodeFromCell(page, 1); > 58 | expect(code).toContain('df["C_edited"] = [7, 8, 9]'); | ^ 59 | 60 | // Ensure previous messages are removed. 61 | const messageAssistantDivs = await page.locator('.message.message-assistant').count(); at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:58:18
[chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion: tests/mitoai_ui_tests/aiInlineCompleter.spec.ts#L64
1) [chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion TypeError: page.routeWebSocket is not a function 62 | const replyDone = new PromiseDelegate<void>(); 63 | // Mock completion request with code prefix 'def fib' > 64 | await page.routeWebSocket(/.*\/mito-ai\/inline-completion/, ws => { | ^ 65 | ws.onMessage(message => { 66 | const payload = JSON.parse(message as string); 67 | const messageId = payload.number; at /home/runner/work/mito/mito/tests/mitoai_ui_tests/aiInlineCompleter.spec.ts:64:16
[chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion: tests/mitoai_ui_tests/aiInlineCompleter.spec.ts#L64
1) [chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: page.routeWebSocket is not a function 62 | const replyDone = new PromiseDelegate<void>(); 63 | // Mock completion request with code prefix 'def fib' > 64 | await page.routeWebSocket(/.*\/mito-ai\/inline-completion/, ws => { | ^ 65 | ws.onMessage(message => { 66 | const payload = JSON.parse(message as string); 67 | const messageId = payload.number; at /home/runner/work/mito/mito/tests/mitoai_ui_tests/aiInlineCompleter.spec.ts:64:16
[chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion: tests/mitoai_ui_tests/aiInlineCompleter.spec.ts#L64
1) [chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: page.routeWebSocket is not a function 62 | const replyDone = new PromiseDelegate<void>(); 63 | // Mock completion request with code prefix 'def fib' > 64 | await page.routeWebSocket(/.*\/mito-ai\/inline-completion/, ws => { | ^ 65 | ws.onMessage(message => { 66 | const payload = JSON.parse(message as string); 67 | const messageId = payload.number; at /home/runner/work/mito/mito/tests/mitoai_ui_tests/aiInlineCompleter.spec.ts:64:16
[chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion: tests/mitoai_ui_tests/aiInlineCompleter.spec.ts#L64
1) [chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: page.routeWebSocket is not a function 62 | const replyDone = new PromiseDelegate<void>(); 63 | // Mock completion request with code prefix 'def fib' > 64 | await page.routeWebSocket(/.*\/mito-ai\/inline-completion/, ws => { | ^ 65 | ws.onMessage(message => { 66 | const payload = JSON.parse(message as string); 67 | const messageId = payload.number; at /home/runner/work/mito/mito/tests/mitoai_ui_tests/aiInlineCompleter.spec.ts:64:16
[chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code: tests/mitoai_ui_tests/mitoai.spec.ts#L21
2) [chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code ───── Error: expect(received).toContain(expected) // indexOf Expected substring: "df[\"C\"] = [7, 8, 9]" Received string: "!jupyter server extension enable mito_ai" 19 | 20 | const code = await getCodeFromCell(page, 1); > 21 | expect(code).toContain('df["C"] = [7, 8, 9]'); | ^ 22 | }); 23 | 24 | test('Reject AI Generated Code', async ({ page }) => { at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:21:18
[chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code: tests/mitoai_ui_tests/mitoai.spec.ts#L21
2) [chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code ───── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "df[\"C\"] = [7, 8, 9]" Received string: "!jupyter server extension enable mito_ai" 19 | 20 | const code = await getCodeFromCell(page, 1); > 21 | expect(code).toContain('df["C"] = [7, 8, 9]'); | ^ 22 | }); 23 | 24 | test('Reject AI Generated Code', async ({ page }) => { at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:21:18
[chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code: tests/mitoai_ui_tests/mitoai.spec.ts#L21
2) [chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code ───── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "df[\"C\"] = [7, 8, 9]" Received string: "!jupyter server extension enable mito_ai" 19 | 20 | const code = await getCodeFromCell(page, 1); > 21 | expect(code).toContain('df["C"] = [7, 8, 9]'); | ^ 22 | }); 23 | 24 | test('Reject AI Generated Code', async ({ page }) => { at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:21:18
[chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code: tests/mitoai_ui_tests/mitoai.spec.ts#L21
2) [chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code ───── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "df[\"C\"] = [7, 8, 9]" Received string: "!jupyter server extension enable mito_ai" 19 | 20 | const code = await getCodeFromCell(page, 1); > 21 | expect(code).toContain('df["C"] = [7, 8, 9]'); | ^ 22 | }); 23 | 24 | test('Reject AI Generated Code', async ({ page }) => { at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:21:18
[chromium] › mitoai_ui_tests/mitoai.spec.ts:38:7 › Mito AI Chat › Edit Message: tests/mitoai_ui_tests/mitoai.spec.ts#L58
3) [chromium] › mitoai_ui_tests/mitoai.spec.ts:38:7 › Mito AI Chat › Edit Message ──────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "df[\"C_edited\"] = [7, 8, 9]" Received string: "!jupyter server extension enable mito_ai" 56 | 57 | const code = await getCodeFromCell(page, 1); > 58 | expect(code).toContain('df["C_edited"] = [7, 8, 9]'); | ^ 59 | 60 | // Ensure previous messages are removed. 61 | const messageAssistantDivs = await page.locator('.message.message-assistant').count(); at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:58:18
[chromium] › mitoai_ui_tests/mitoai.spec.ts:38:7 › Mito AI Chat › Edit Message: tests/mitoai_ui_tests/mitoai.spec.ts#L58
3) [chromium] › mitoai_ui_tests/mitoai.spec.ts:38:7 › Mito AI Chat › Edit Message ──────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "df[\"C_edited\"] = [7, 8, 9]" Received string: "!jupyter server extension enable mito_ai" 56 | 57 | const code = await getCodeFromCell(page, 1); > 58 | expect(code).toContain('df["C_edited"] = [7, 8, 9]'); | ^ 59 | 60 | // Ensure previous messages are removed. 61 | const messageAssistantDivs = await page.locator('.message.message-assistant').count(); at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:58:18
[chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion: tests/mitoai_ui_tests/aiInlineCompleter.spec.ts#L64
1) [chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion TypeError: page.routeWebSocket is not a function 62 | const replyDone = new PromiseDelegate<void>(); 63 | // Mock completion request with code prefix 'def fib' > 64 | await page.routeWebSocket(/.*\/mito-ai\/inline-completion/, ws => { | ^ 65 | ws.onMessage(message => { 66 | const payload = JSON.parse(message as string); 67 | const messageId = payload.number; at /home/runner/work/mito/mito/tests/mitoai_ui_tests/aiInlineCompleter.spec.ts:64:16
[chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion: tests/mitoai_ui_tests/aiInlineCompleter.spec.ts#L64
1) [chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: page.routeWebSocket is not a function 62 | const replyDone = new PromiseDelegate<void>(); 63 | // Mock completion request with code prefix 'def fib' > 64 | await page.routeWebSocket(/.*\/mito-ai\/inline-completion/, ws => { | ^ 65 | ws.onMessage(message => { 66 | const payload = JSON.parse(message as string); 67 | const messageId = payload.number; at /home/runner/work/mito/mito/tests/mitoai_ui_tests/aiInlineCompleter.spec.ts:64:16
[chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion: tests/mitoai_ui_tests/aiInlineCompleter.spec.ts#L64
1) [chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: page.routeWebSocket is not a function 62 | const replyDone = new PromiseDelegate<void>(); 63 | // Mock completion request with code prefix 'def fib' > 64 | await page.routeWebSocket(/.*\/mito-ai\/inline-completion/, ws => { | ^ 65 | ws.onMessage(message => { 66 | const payload = JSON.parse(message as string); 67 | const messageId = payload.number; at /home/runner/work/mito/mito/tests/mitoai_ui_tests/aiInlineCompleter.spec.ts:64:16
[chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion: tests/mitoai_ui_tests/aiInlineCompleter.spec.ts#L64
1) [chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: page.routeWebSocket is not a function 62 | const replyDone = new PromiseDelegate<void>(); 63 | // Mock completion request with code prefix 'def fib' > 64 | await page.routeWebSocket(/.*\/mito-ai\/inline-completion/, ws => { | ^ 65 | ws.onMessage(message => { 66 | const payload = JSON.parse(message as string); 67 | const messageId = payload.number; at /home/runner/work/mito/mito/tests/mitoai_ui_tests/aiInlineCompleter.spec.ts:64:16
[chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code: tests/mitoai_ui_tests/mitoai.spec.ts#L21
2) [chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code ───── Error: expect(received).toContain(expected) // indexOf Expected substring: "df[\"C\"] = [7, 8, 9]" Received string: "!jupyter server extension enable mito_ai" 19 | 20 | const code = await getCodeFromCell(page, 1); > 21 | expect(code).toContain('df["C"] = [7, 8, 9]'); | ^ 22 | }); 23 | 24 | test('Reject AI Generated Code', async ({ page }) => { at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:21:18
[chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code: tests/mitoai_ui_tests/mitoai.spec.ts#L21
2) [chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code ───── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "df[\"C\"] = [7, 8, 9]" Received string: "!jupyter server extension enable mito_ai" 19 | 20 | const code = await getCodeFromCell(page, 1); > 21 | expect(code).toContain('df["C"] = [7, 8, 9]'); | ^ 22 | }); 23 | 24 | test('Reject AI Generated Code', async ({ page }) => { at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:21:18
[chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code: tests/mitoai_ui_tests/mitoai.spec.ts#L21
2) [chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code ───── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "df[\"C\"] = [7, 8, 9]" Received string: "!jupyter server extension enable mito_ai" 19 | 20 | const code = await getCodeFromCell(page, 1); > 21 | expect(code).toContain('df["C"] = [7, 8, 9]'); | ^ 22 | }); 23 | 24 | test('Reject AI Generated Code', async ({ page }) => { at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:21:18
[chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code: tests/mitoai_ui_tests/mitoai.spec.ts#L21
2) [chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code ───── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "df[\"C\"] = [7, 8, 9]" Received string: "!jupyter server extension enable mito_ai" 19 | 20 | const code = await getCodeFromCell(page, 1); > 21 | expect(code).toContain('df["C"] = [7, 8, 9]'); | ^ 22 | }); 23 | 24 | test('Reject AI Generated Code', async ({ page }) => { at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:21:18
[chromium] › mitoai_ui_tests/mitoai.spec.ts:38:7 › Mito AI Chat › Edit Message: tests/mitoai_ui_tests/mitoai.spec.ts#L58
3) [chromium] › mitoai_ui_tests/mitoai.spec.ts:38:7 › Mito AI Chat › Edit Message ──────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "df[\"C_edited\"] = [7, 8, 9]" Received string: "!jupyter server extension enable mito_ai" 56 | 57 | const code = await getCodeFromCell(page, 1); > 58 | expect(code).toContain('df["C_edited"] = [7, 8, 9]'); | ^ 59 | 60 | // Ensure previous messages are removed. 61 | const messageAssistantDivs = await page.locator('.message.message-assistant').count(); at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:58:18
[chromium] › mitoai_ui_tests/mitoai.spec.ts:38:7 › Mito AI Chat › Edit Message: tests/mitoai_ui_tests/mitoai.spec.ts#L58
3) [chromium] › mitoai_ui_tests/mitoai.spec.ts:38:7 › Mito AI Chat › Edit Message ──────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "df[\"C_edited\"] = [7, 8, 9]" Received string: "!jupyter server extension enable mito_ai" 56 | 57 | const code = await getCodeFromCell(page, 1); > 58 | expect(code).toContain('df["C_edited"] = [7, 8, 9]'); | ^ 59 | 60 | // Ensure previous messages are removed. 61 | const messageAssistantDivs = await page.locator('.message.message-assistant').count(); at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:58:18
[chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion: tests/mitoai_ui_tests/aiInlineCompleter.spec.ts#L64
1) [chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion TypeError: page.routeWebSocket is not a function 62 | const replyDone = new PromiseDelegate<void>(); 63 | // Mock completion request with code prefix 'def fib' > 64 | await page.routeWebSocket(/.*\/mito-ai\/inline-completion/, ws => { | ^ 65 | ws.onMessage(message => { 66 | const payload = JSON.parse(message as string); 67 | const messageId = payload.number; at /home/runner/work/mito/mito/tests/mitoai_ui_tests/aiInlineCompleter.spec.ts:64:16
[chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion: tests/mitoai_ui_tests/aiInlineCompleter.spec.ts#L64
1) [chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: page.routeWebSocket is not a function 62 | const replyDone = new PromiseDelegate<void>(); 63 | // Mock completion request with code prefix 'def fib' > 64 | await page.routeWebSocket(/.*\/mito-ai\/inline-completion/, ws => { | ^ 65 | ws.onMessage(message => { 66 | const payload = JSON.parse(message as string); 67 | const messageId = payload.number; at /home/runner/work/mito/mito/tests/mitoai_ui_tests/aiInlineCompleter.spec.ts:64:16
[chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion: tests/mitoai_ui_tests/aiInlineCompleter.spec.ts#L64
1) [chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: page.routeWebSocket is not a function 62 | const replyDone = new PromiseDelegate<void>(); 63 | // Mock completion request with code prefix 'def fib' > 64 | await page.routeWebSocket(/.*\/mito-ai\/inline-completion/, ws => { | ^ 65 | ws.onMessage(message => { 66 | const payload = JSON.parse(message as string); 67 | const messageId = payload.number; at /home/runner/work/mito/mito/tests/mitoai_ui_tests/aiInlineCompleter.spec.ts:64:16
[chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion: tests/mitoai_ui_tests/aiInlineCompleter.spec.ts#L64
1) [chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: page.routeWebSocket is not a function 62 | const replyDone = new PromiseDelegate<void>(); 63 | // Mock completion request with code prefix 'def fib' > 64 | await page.routeWebSocket(/.*\/mito-ai\/inline-completion/, ws => { | ^ 65 | ws.onMessage(message => { 66 | const payload = JSON.parse(message as string); 67 | const messageId = payload.number; at /home/runner/work/mito/mito/tests/mitoai_ui_tests/aiInlineCompleter.spec.ts:64:16
[chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code: tests/mitoai_ui_tests/mitoai.spec.ts#L21
2) [chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code ───── Error: expect(received).toContain(expected) // indexOf Expected substring: "df[\"C\"] = [7, 8, 9]" Received string: "!jupyter server extension enable mito_ai" 19 | 20 | const code = await getCodeFromCell(page, 1); > 21 | expect(code).toContain('df["C"] = [7, 8, 9]'); | ^ 22 | }); 23 | 24 | test('Reject AI Generated Code', async ({ page }) => { at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:21:18
[chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code: tests/mitoai_ui_tests/mitoai.spec.ts#L21
2) [chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code ───── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "df[\"C\"] = [7, 8, 9]" Received string: "!jupyter server extension enable mito_ai" 19 | 20 | const code = await getCodeFromCell(page, 1); > 21 | expect(code).toContain('df["C"] = [7, 8, 9]'); | ^ 22 | }); 23 | 24 | test('Reject AI Generated Code', async ({ page }) => { at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:21:18
[chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code: tests/mitoai_ui_tests/mitoai.spec.ts#L21
2) [chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code ───── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "df[\"C\"] = [7, 8, 9]" Received string: "!jupyter server extension enable mito_ai" 19 | 20 | const code = await getCodeFromCell(page, 1); > 21 | expect(code).toContain('df["C"] = [7, 8, 9]'); | ^ 22 | }); 23 | 24 | test('Reject AI Generated Code', async ({ page }) => { at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:21:18
[chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code: tests/mitoai_ui_tests/mitoai.spec.ts#L21
2) [chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code ───── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "df[\"C\"] = [7, 8, 9]" Received string: "!jupyter server extension enable mito_ai" 19 | 20 | const code = await getCodeFromCell(page, 1); > 21 | expect(code).toContain('df["C"] = [7, 8, 9]'); | ^ 22 | }); 23 | 24 | test('Reject AI Generated Code', async ({ page }) => { at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:21:18
[chromium] › mitoai_ui_tests/mitoai.spec.ts:38:7 › Mito AI Chat › Edit Message: tests/mitoai_ui_tests/mitoai.spec.ts#L58
3) [chromium] › mitoai_ui_tests/mitoai.spec.ts:38:7 › Mito AI Chat › Edit Message ──────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "df[\"C_edited\"] = [7, 8, 9]" Received string: "!jupyter server extension enable mito_ai" 56 | 57 | const code = await getCodeFromCell(page, 1); > 58 | expect(code).toContain('df["C_edited"] = [7, 8, 9]'); | ^ 59 | 60 | // Ensure previous messages are removed. 61 | const messageAssistantDivs = await page.locator('.message.message-assistant').count(); at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:58:18
[chromium] › mitoai_ui_tests/mitoai.spec.ts:38:7 › Mito AI Chat › Edit Message: tests/mitoai_ui_tests/mitoai.spec.ts#L58
3) [chromium] › mitoai_ui_tests/mitoai.spec.ts:38:7 › Mito AI Chat › Edit Message ──────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "df[\"C_edited\"] = [7, 8, 9]" Received string: "!jupyter server extension enable mito_ai" 56 | 57 | const code = await getCodeFromCell(page, 1); > 58 | expect(code).toContain('df["C_edited"] = [7, 8, 9]'); | ^ 59 | 60 | // Ensure previous messages are removed. 61 | const messageAssistantDivs = await page.locator('.message.message-assistant').count(); at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:58:18
[chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion: tests/mitoai_ui_tests/aiInlineCompleter.spec.ts#L64
1) [chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion TypeError: page.routeWebSocket is not a function 62 | const replyDone = new PromiseDelegate<void>(); 63 | // Mock completion request with code prefix 'def fib' > 64 | await page.routeWebSocket(/.*\/mito-ai\/inline-completion/, ws => { | ^ 65 | ws.onMessage(message => { 66 | const payload = JSON.parse(message as string); 67 | const messageId = payload.number; at /home/runner/work/mito/mito/tests/mitoai_ui_tests/aiInlineCompleter.spec.ts:64:16
[chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion: tests/mitoai_ui_tests/aiInlineCompleter.spec.ts#L64
1) [chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: page.routeWebSocket is not a function 62 | const replyDone = new PromiseDelegate<void>(); 63 | // Mock completion request with code prefix 'def fib' > 64 | await page.routeWebSocket(/.*\/mito-ai\/inline-completion/, ws => { | ^ 65 | ws.onMessage(message => { 66 | const payload = JSON.parse(message as string); 67 | const messageId = payload.number; at /home/runner/work/mito/mito/tests/mitoai_ui_tests/aiInlineCompleter.spec.ts:64:16
[chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion: tests/mitoai_ui_tests/aiInlineCompleter.spec.ts#L64
1) [chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: page.routeWebSocket is not a function 62 | const replyDone = new PromiseDelegate<void>(); 63 | // Mock completion request with code prefix 'def fib' > 64 | await page.routeWebSocket(/.*\/mito-ai\/inline-completion/, ws => { | ^ 65 | ws.onMessage(message => { 66 | const payload = JSON.parse(message as string); 67 | const messageId = payload.number; at /home/runner/work/mito/mito/tests/mitoai_ui_tests/aiInlineCompleter.spec.ts:64:16
[chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion: tests/mitoai_ui_tests/aiInlineCompleter.spec.ts#L64
1) [chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: page.routeWebSocket is not a function 62 | const replyDone = new PromiseDelegate<void>(); 63 | // Mock completion request with code prefix 'def fib' > 64 | await page.routeWebSocket(/.*\/mito-ai\/inline-completion/, ws => { | ^ 65 | ws.onMessage(message => { 66 | const payload = JSON.parse(message as string); 67 | const messageId = payload.number; at /home/runner/work/mito/mito/tests/mitoai_ui_tests/aiInlineCompleter.spec.ts:64:16
[chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code: tests/mitoai_ui_tests/mitoai.spec.ts#L21
2) [chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code ───── Error: expect(received).toContain(expected) // indexOf Expected substring: "df[\"C\"] = [7, 8, 9]" Received string: "!jupyter server extension enable mito_ai" 19 | 20 | const code = await getCodeFromCell(page, 1); > 21 | expect(code).toContain('df["C"] = [7, 8, 9]'); | ^ 22 | }); 23 | 24 | test('Reject AI Generated Code', async ({ page }) => { at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:21:18
[chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code: tests/mitoai_ui_tests/mitoai.spec.ts#L21
2) [chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code ───── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "df[\"C\"] = [7, 8, 9]" Received string: "!jupyter server extension enable mito_ai" 19 | 20 | const code = await getCodeFromCell(page, 1); > 21 | expect(code).toContain('df["C"] = [7, 8, 9]'); | ^ 22 | }); 23 | 24 | test('Reject AI Generated Code', async ({ page }) => { at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:21:18
[chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code: tests/mitoai_ui_tests/mitoai.spec.ts#L21
2) [chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code ───── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "df[\"C\"] = [7, 8, 9]" Received string: "!jupyter server extension enable mito_ai" 19 | 20 | const code = await getCodeFromCell(page, 1); > 21 | expect(code).toContain('df["C"] = [7, 8, 9]'); | ^ 22 | }); 23 | 24 | test('Reject AI Generated Code', async ({ page }) => { at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:21:18
[chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code: tests/mitoai_ui_tests/mitoai.spec.ts#L21
2) [chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code ───── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "df[\"C\"] = [7, 8, 9]" Received string: "!jupyter server extension enable mito_ai" 19 | 20 | const code = await getCodeFromCell(page, 1); > 21 | expect(code).toContain('df["C"] = [7, 8, 9]'); | ^ 22 | }); 23 | 24 | test('Reject AI Generated Code', async ({ page }) => { at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:21:18
[chromium] › mitoai_ui_tests/mitoai.spec.ts:38:7 › Mito AI Chat › Edit Message: tests/mitoai_ui_tests/mitoai.spec.ts#L58
3) [chromium] › mitoai_ui_tests/mitoai.spec.ts:38:7 › Mito AI Chat › Edit Message ──────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "df[\"C_edited\"] = [7, 8, 9]" Received string: "!jupyter server extension enable mito_ai" 56 | 57 | const code = await getCodeFromCell(page, 1); > 58 | expect(code).toContain('df["C_edited"] = [7, 8, 9]'); | ^ 59 | 60 | // Ensure previous messages are removed. 61 | const messageAssistantDivs = await page.locator('.message.message-assistant').count(); at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:58:18
[chromium] › mitoai_ui_tests/mitoai.spec.ts:38:7 › Mito AI Chat › Edit Message: tests/mitoai_ui_tests/mitoai.spec.ts#L58
3) [chromium] › mitoai_ui_tests/mitoai.spec.ts:38:7 › Mito AI Chat › Edit Message ──────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "df[\"C_edited\"] = [7, 8, 9]" Received string: "!jupyter server extension enable mito_ai" 56 | 57 | const code = await getCodeFromCell(page, 1); > 58 | expect(code).toContain('df["C_edited"] = [7, 8, 9]'); | ^ 59 | 60 | // Ensure previous messages are removed. 61 | const messageAssistantDivs = await page.locator('.message.message-assistant').count(); at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoai.spec.ts:58:18
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "mitoai-jupyterlab-playwright-report-3.10", "mitoai-jupyterlab-playwright-report-3.11", "mitoai-jupyterlab-playwright-report-3.8". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
🎭 Playwright Run Summary
5 failed [chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion [chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code ────── [chromium] › mitoai_ui_tests/mitoai.spec.ts:38:7 › Mito AI Chat › Edit Message ───────────────── [chromium] › mitoai_ui_tests/mitoai.spec.ts:65:7 › Mito AI Chat › Code Diffs are applied ─────── [chromium] › mitoai_ui_tests/mitoai.spec.ts:87:7 › Mito AI Chat › Errors have fix with AI button 7 passed (2.2m)
🎭 Playwright Run Summary
5 failed [chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion [chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code ────── [chromium] › mitoai_ui_tests/mitoai.spec.ts:38:7 › Mito AI Chat › Edit Message ───────────────── [chromium] › mitoai_ui_tests/mitoai.spec.ts:65:7 › Mito AI Chat › Code Diffs are applied ─────── [chromium] › mitoai_ui_tests/mitoai.spec.ts:87:7 › Mito AI Chat › Errors have fix with AI button 7 passed (2.2m)
🎭 Playwright Run Summary
5 failed [chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion [chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code ────── [chromium] › mitoai_ui_tests/mitoai.spec.ts:38:7 › Mito AI Chat › Edit Message ───────────────── [chromium] › mitoai_ui_tests/mitoai.spec.ts:65:7 › Mito AI Chat › Code Diffs are applied ─────── [chromium] › mitoai_ui_tests/mitoai.spec.ts:87:7 › Mito AI Chat › Errors have fix with AI button 7 passed (2.4m)
🎭 Playwright Run Summary
5 failed [chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion [chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code ────── [chromium] › mitoai_ui_tests/mitoai.spec.ts:38:7 › Mito AI Chat › Edit Message ───────────────── [chromium] › mitoai_ui_tests/mitoai.spec.ts:65:7 › Mito AI Chat › Code Diffs are applied ─────── [chromium] › mitoai_ui_tests/mitoai.spec.ts:87:7 › Mito AI Chat › Errors have fix with AI button 7 passed (2.3m)
🎭 Playwright Run Summary
5 failed [chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion [chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code ────── [chromium] › mitoai_ui_tests/mitoai.spec.ts:38:7 › Mito AI Chat › Edit Message ───────────────── [chromium] › mitoai_ui_tests/mitoai.spec.ts:65:7 › Mito AI Chat › Code Diffs are applied ─────── [chromium] › mitoai_ui_tests/mitoai.spec.ts:87:7 › Mito AI Chat › Errors have fix with AI button 7 passed (2.3m)
🎭 Playwright Run Summary
5 failed [chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:61:7 › default inline completion › should display inline completion [chromium] › mitoai_ui_tests/mitoai.spec.ts:11:7 › Mito AI Chat › Apply AI Generated Code ────── [chromium] › mitoai_ui_tests/mitoai.spec.ts:38:7 › Mito AI Chat › Edit Message ───────────────── [chromium] › mitoai_ui_tests/mitoai.spec.ts:65:7 › Mito AI Chat › Code Diffs are applied ─────── [chromium] › mitoai_ui_tests/mitoai.spec.ts:87:7 › Mito AI Chat › Errors have fix with AI button 1 flaky [chromium] › mitoai_ui_tests/aiInlineCompleter.spec.ts:7:7 › first time setup › should ask the user to activate the inline completion 6 passed (2.6m)

Artifacts

Produced during runtime
Name Size
mitoai-jupyterlab-playwright-report-3.10
38.5 MB
mitoai-jupyterlab-playwright-report-3.11
39.1 MB
mitoai-jupyterlab-playwright-report-3.8
41.2 MB