Implement message queue component #302
Draft
Annotations
10 errors, 1 warning, and 1 notice
|
Execute integration tests
Process completed with exit code 1.
|
|
Execute integration tests:
ui-tests/tests/mcp-integration.spec.ts#L86
3) tests/mcp-integration.spec.ts:69:7 › #mcpIntegration › should show MCP server as Connected in AI Settings
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible() failed
Locator: locator('#jupyterlite-ai-settings').locator('text=Status: Connected')
Expected: visible
Received: <element(s) not found>
Timeout: 5000ms
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for locator('#jupyterlite-ai-settings').locator('text=Status: Connected')
84 |
85 | await expect(settingsPanel.locator('text=Test MCP Server')).toBeVisible();
> 86 | await expect(settingsPanel.locator('text=Status: Connected')).toBeVisible();
| ^
87 | });
88 | });
89 |
at /home/runner/work/ai/ai/ui-tests/tests/mcp-integration.spec.ts:86:67
|
|
Execute integration tests:
ui-tests/tests/mcp-integration.spec.ts#L86
3) tests/mcp-integration.spec.ts:69:7 › #mcpIntegration › should show MCP server as Connected in AI Settings
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible() failed
Locator: locator('#jupyterlite-ai-settings').locator('text=Status: Connected')
Expected: visible
Received: <element(s) not found>
Timeout: 5000ms
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for locator('#jupyterlite-ai-settings').locator('text=Status: Connected')
84 |
85 | await expect(settingsPanel.locator('text=Test MCP Server')).toBeVisible();
> 86 | await expect(settingsPanel.locator('text=Status: Connected')).toBeVisible();
| ^
87 | });
88 | });
89 |
at /home/runner/work/ai/ai/ui-tests/tests/mcp-integration.spec.ts:86:67
|
|
Execute integration tests:
ui-tests/tests/mcp-integration.spec.ts#L86
3) tests/mcp-integration.spec.ts:69:7 › #mcpIntegration › should show MCP server as Connected in AI Settings
Error: expect(locator).toBeVisible() failed
Locator: locator('#jupyterlite-ai-settings').locator('text=Status: Connected')
Expected: visible
Received: <element(s) not found>
Timeout: 5000ms
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for locator('#jupyterlite-ai-settings').locator('text=Status: Connected')
84 |
85 | await expect(settingsPanel.locator('text=Test MCP Server')).toBeVisible();
> 86 | await expect(settingsPanel.locator('text=Status: Connected')).toBeVisible();
| ^
87 | });
88 | });
89 |
at /home/runner/work/ai/ai/ui-tests/tests/mcp-integration.spec.ts:86:67
|
|
Execute integration tests:
ui-tests/tests/mcp-integration.spec.ts#L56
2) tests/mcp-integration.spec.ts:40:7 › #mcpIntegration › should display tool call from MCP server
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveCount(expected) failed
Locator: locator('[id="@jupyterlite/ai:chat-panel"]').locator('.jp-chat-message-header:has-text("Jupyternaut")')
Expected: 1
Received: 0
Timeout: 60000ms
Call log:
- Expect "toHaveCount" with timeout 60000ms
- waiting for locator('[id="@jupyterlite/ai:chat-panel"]').locator('.jp-chat-message-header:has-text("Jupyternaut")')
63 × locator resolved to 0 elements
- unexpected value "0"
54 | await expect(
55 | panel.locator('.jp-chat-message-header:has-text("Jupyternaut")')
> 56 | ).toHaveCount(1, { timeout: 60000 });
| ^
57 |
58 | // Wait for tool call to appear
59 | const toolCall = panel.locator('.jp-ai-tool-call');
at /home/runner/work/ai/ai/ui-tests/tests/mcp-integration.spec.ts:56:7
|
|
Execute integration tests:
ui-tests/tests/mcp-integration.spec.ts#L56
2) tests/mcp-integration.spec.ts:40:7 › #mcpIntegration › should display tool call from MCP server
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveCount(expected) failed
Locator: locator('[id="@jupyterlite/ai:chat-panel"]').locator('.jp-chat-message-header:has-text("Jupyternaut")')
Expected: 1
Received: 0
Timeout: 60000ms
Call log:
- Expect "toHaveCount" with timeout 60000ms
- waiting for locator('[id="@jupyterlite/ai:chat-panel"]').locator('.jp-chat-message-header:has-text("Jupyternaut")')
63 × locator resolved to 0 elements
- unexpected value "0"
54 | await expect(
55 | panel.locator('.jp-chat-message-header:has-text("Jupyternaut")')
> 56 | ).toHaveCount(1, { timeout: 60000 });
| ^
57 |
58 | // Wait for tool call to appear
59 | const toolCall = panel.locator('.jp-ai-tool-call');
at /home/runner/work/ai/ai/ui-tests/tests/mcp-integration.spec.ts:56:7
|
|
Execute integration tests:
ui-tests/tests/mcp-integration.spec.ts#L56
2) tests/mcp-integration.spec.ts:40:7 › #mcpIntegration › should display tool call from MCP server
Error: expect(locator).toHaveCount(expected) failed
Locator: locator('[id="@jupyterlite/ai:chat-panel"]').locator('.jp-chat-message-header:has-text("Jupyternaut")')
Expected: 1
Received: 0
Timeout: 60000ms
Call log:
- Expect "toHaveCount" with timeout 60000ms
- waiting for locator('[id="@jupyterlite/ai:chat-panel"]').locator('.jp-chat-message-header:has-text("Jupyternaut")')
63 × locator resolved to 0 elements
- unexpected value "0"
54 | await expect(
55 | panel.locator('.jp-chat-message-header:has-text("Jupyternaut")')
> 56 | ).toHaveCount(1, { timeout: 60000 });
| ^
57 |
58 | // Wait for tool call to appear
59 | const toolCall = panel.locator('.jp-ai-tool-call');
at /home/runner/work/ai/ai/ui-tests/tests/mcp-integration.spec.ts:56:7
|
|
Execute integration tests:
ui-tests/tests/chat-panel.spec.ts#L174
1) tests/chat-panel.spec.ts:145:9 › #chatWithModelGeneric › should receive an error message when removing the model
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveCount(expected) failed
Locator: locator('[id="@jupyterlite/ai:chat-panel"]').locator('.jp-chat-message')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "toHaveCount" with timeout 5000ms
- waiting for locator('[id="@jupyterlite/ai:chat-panel"]').locator('.jp-chat-message')
9 × locator resolved to 1 element
- unexpected value "1"
172 | await input.pressSequentially(content);
173 | await sendButton.click();
> 174 | await expect(messages).toHaveCount(2);
| ^
175 |
176 | await expect(
177 | messages.first().locator('.jp-chat-rendered-message')
at /home/runner/work/ai/ai/ui-tests/tests/chat-panel.spec.ts:174:30
|
|
Execute integration tests:
ui-tests/tests/chat-panel.spec.ts#L174
1) tests/chat-panel.spec.ts:145:9 › #chatWithModelGeneric › should receive an error message when removing the model
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveCount(expected) failed
Locator: locator('[id="@jupyterlite/ai:chat-panel"]').locator('.jp-chat-message')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "toHaveCount" with timeout 5000ms
- waiting for locator('[id="@jupyterlite/ai:chat-panel"]').locator('.jp-chat-message')
9 × locator resolved to 1 element
- unexpected value "1"
172 | await input.pressSequentially(content);
173 | await sendButton.click();
> 174 | await expect(messages).toHaveCount(2);
| ^
175 |
176 | await expect(
177 | messages.first().locator('.jp-chat-rendered-message')
at /home/runner/work/ai/ai/ui-tests/tests/chat-panel.spec.ts:174:30
|
|
Execute integration tests:
ui-tests/tests/chat-panel.spec.ts#L174
1) tests/chat-panel.spec.ts:145:9 › #chatWithModelGeneric › should receive an error message when removing the model
Error: expect(locator).toHaveCount(expected) failed
Locator: locator('[id="@jupyterlite/ai:chat-panel"]').locator('.jp-chat-message')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "toHaveCount" with timeout 5000ms
- waiting for locator('[id="@jupyterlite/ai:chat-panel"]').locator('.jp-chat-message')
9 × locator resolved to 1 element
- unexpected value "1"
172 | await input.pressSequentially(content);
173 | await sendButton.click();
> 174 | await expect(messages).toHaveCount(2);
| ^
175 |
176 | await expect(
177 | messages.first().locator('.jp-chat-rendered-message')
at /home/runner/work/ai/ai/ui-tests/tests/chat-panel.spec.ts:174:30
|
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v3, actions/checkout@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Execute integration tests
3 failed
tests/chat-panel.spec.ts:145:9 › #chatWithModelGeneric › should receive an error message when removing the model
tests/mcp-integration.spec.ts:40:7 › #mcpIntegration › should display tool call from MCP server
tests/mcp-integration.spec.ts:69:7 › #mcpIntegration › should show MCP server as Connected in AI Settings
29 passed (7.0m)
|
Loading