Deduplicate npm dependencies #109
Merged
Annotations
3 errors and 1 notice
Execute integration tests:
ui-tests/tests/code-completion.spec.ts#L57
2) tests/code-completion.spec.ts:42:5 › should suggest inline completion ─────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('main').locator('[role="tabpanel"][id="id-a9db6b58-9259-4ef6-934d-191a8cf865c7"]').locator('.jp-NotebookPanel-notebook').first().locator('.jp-Cell[data-windowed-list-index="0"]').locator('.jp-InputArea-editor').locator('.jp-GhostText')
Expected: visible
Received: <element(s) not found>
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for getByRole('main').locator('[role="tabpanel"][id="id-a9db6b58-9259-4ef6-934d-191a8cf865c7"]').locator('.jp-NotebookPanel-notebook').first().locator('.jp-Cell[data-windowed-list-index="0"]').locator('.jp-InputArea-editor').locator('.jp-GhostText')
55 |
56 | // Ghost text should be visible as suggestion.
> 57 | await expect(cell!.locator('.jp-GhostText')).toBeVisible();
| ^
58 | await expect(cell!.locator('.jp-GhostText')).not.toBeEmpty();
59 |
60 | expect(requestBody).toHaveLength(1);
at /home/runner/work/ai/ai/ui-tests/tests/code-completion.spec.ts:57:48
|
Execute integration tests:
ui-tests/tests/code-completion.spec.ts#L57
2) tests/code-completion.spec.ts:42:5 › should suggest inline completion ─────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('main').locator('[role="tabpanel"][id="id-c3029c7a-0414-40f8-96a8-1f6e06719dad"]').locator('.jp-NotebookPanel-notebook').first().locator('.jp-Cell[data-windowed-list-index="0"]').locator('.jp-InputArea-editor').locator('.jp-GhostText')
Expected: visible
Received: <element(s) not found>
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for getByRole('main').locator('[role="tabpanel"][id="id-c3029c7a-0414-40f8-96a8-1f6e06719dad"]').locator('.jp-NotebookPanel-notebook').first().locator('.jp-Cell[data-windowed-list-index="0"]').locator('.jp-InputArea-editor').locator('.jp-GhostText')
55 |
56 | // Ghost text should be visible as suggestion.
> 57 | await expect(cell!.locator('.jp-GhostText')).toBeVisible();
| ^
58 | await expect(cell!.locator('.jp-GhostText')).not.toBeEmpty();
59 |
60 | expect(requestBody).toHaveLength(1);
at /home/runner/work/ai/ai/ui-tests/tests/code-completion.spec.ts:57:48
|
Execute integration tests:
ui-tests/tests/chat-panel.spec.ts#L97
1) tests/chat-panel.spec.ts:84:7 › #withModel › should have a model ──────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('[id="@jupyterlite/ai:chat-widget"]').locator('.jp-chat-message')
Expected: 2
Received: 1
Call log:
- Expect "toHaveCount" with timeout 5000ms
- waiting for locator('[id="@jupyterlite/ai:chat-widget"]').locator('.jp-chat-message')
9 × locator resolved to 1 element
- unexpected value "1"
95 | await input.pressSequentially(content);
96 | await sendButton.click();
> 97 | await expect(messages).toHaveCount(2);
| ^
98 |
99 | await expect(messages.last().locator('.jp-chat-message-header')).toHaveText(
100 | /Jupyternaut/
at /home/runner/work/ai/ai/ui-tests/tests/chat-panel.spec.ts:97:28
|
Execute integration tests
2 flaky
tests/chat-panel.spec.ts:84:7 › #withModel › should have a model ───────────────────────────────
tests/code-completion.spec.ts:42:5 › should suggest inline completion ──────────────────────────
4 passed (52.1s)
|
Loading