Skip to content

Adds searching chat history to the history tab #26229

Adds searching chat history to the history tab

Adds searching chat history to the history tab #26229

Triggered via pull request January 31, 2025 14:45
Status Failure
Total duration 7m 52s
Artifacts 1

ci.yml

on: pull_request
fast_tests_matrix_prep
0s
fast_tests_matrix_prep
slow_tests_matrix_prep
0s
slow_tests_matrix_prep
Matrix: test-integration
Matrix: test-unit
Matrix: test-e2e
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 13 warnings, and 5 notices
chat-history.test.ts:17:3 › restore chat from sidebar history view: vscode/test/e2e/chat-history.test.ts#L34
1) chat-history.test.ts:17:3 › restore chat from sidebar history view ──────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: frameLocator('iframe.webview:first-child:last-child').frameLocator('iframe').getByRole('button', { name: 'Hey' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for frameLocator('iframe.webview:first-child:last-child').frameLocator('iframe').getByRole('button', { name: 'Hey' }) 32 | 33 | const newHistoryItem = sidebarChat.getByRole('button', { name: 'Hey' }) > 34 | await expect(newHistoryItem).toBeVisible() | ^ 35 | await newHistoryItem.click() 36 | }) 37 | at /home/runner/work/cody/cody/vscode/test/e2e/chat-history.test.ts:34:34
chat-history.test.ts:17:3 › restore chat from sidebar history view: vscode/test/e2e/chat-history.test.ts#L34
1) chat-history.test.ts:17:3 › restore chat from sidebar history view ──────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: frameLocator('iframe.webview:first-child:last-child').frameLocator('iframe').getByRole('button', { name: 'Hey' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for frameLocator('iframe.webview:first-child:last-child').frameLocator('iframe').getByRole('button', { name: 'Hey' }) 32 | 33 | const newHistoryItem = sidebarChat.getByRole('button', { name: 'Hey' }) > 34 | await expect(newHistoryItem).toBeVisible() | ^ 35 | await newHistoryItem.click() 36 | }) 37 | at /home/runner/work/cody/cody/vscode/test/e2e/chat-history.test.ts:34:34
chat-history.test.ts:50:3 › delete chat from sidebar history view: vscode/test/e2e/chat-history.test.ts#L67
2) chat-history.test.ts:50:3 › delete chat from sidebar history view ───────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: frameLocator('iframe.webview:first-child:last-child').frameLocator('iframe').getByRole('button', { name: 'Hey' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for frameLocator('iframe.webview:first-child:last-child').frameLocator('iframe').getByRole('button', { name: 'Hey' }) 65 | 66 | const newHistoryItem = sidebarChat.getByRole('button', { name: 'Hey' }) > 67 | await expect(newHistoryItem).toBeVisible() | ^ 68 | 69 | const deleteButton = sidebarChat.getByRole('button', { name: 'Delete chat' }) 70 | await expect(deleteButton).toBeVisible() at /home/runner/work/cody/cody/vscode/test/e2e/chat-history.test.ts:67:34
chat-history.test.ts:50:3 › delete chat from sidebar history view: vscode/test/e2e/chat-history.test.ts#L67
2) chat-history.test.ts:50:3 › delete chat from sidebar history view ───────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: frameLocator('iframe.webview:first-child:last-child').frameLocator('iframe').getByRole('button', { name: 'Hey' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for frameLocator('iframe.webview:first-child:last-child').frameLocator('iframe').getByRole('button', { name: 'Hey' }) 65 | 66 | const newHistoryItem = sidebarChat.getByRole('button', { name: 'Hey' }) > 67 | await expect(newHistoryItem).toBeVisible() | ^ 68 | 69 | const deleteButton = sidebarChat.getByRole('button', { name: 'Delete chat' }) 70 | await expect(deleteButton).toBeVisible() at /home/runner/work/cody/cody/vscode/test/e2e/chat-history.test.ts:67:34
test-e2e (ubuntu, 2/5)
Process completed with exit code 1.
Slow Test: vscode/auth.test.ts#L1
vscode/auth.test.ts took 34.1s
Slow Test: vscode/attribution.test.ts#L1
vscode/attribution.test.ts took 24.3s
Slow Test: vscode/initial-context.test.ts#L1
vscode/initial-context.test.ts took 56.2s
Slow Test: vscode/support-menu-items.test.ts#L1
vscode/support-menu-items.test.ts took 21.8s
Slow Test: vscode/command-core.test.ts#L1
vscode/command-core.test.ts took 46.2s
Slow Test: vscode/code-actions.test.ts#L1
vscode/code-actions.test.ts took 36.4s
Slow Test: vscode/chat-rateLimit.test.ts#L1
vscode/chat-rateLimit.test.ts took 35.6s
Slow Test: vscode/chat-messages.test.ts#L1
vscode/chat-messages.test.ts took 22.9s
Slow Test: vscode/command-custom.test.ts#L1
vscode/command-custom.test.ts took 1.2m
Slow Test: vscode/command-edit.test.ts#L1
vscode/command-edit.test.ts took 45.0s
Slow Test: vscode/enterprise-cody-ignore.test.ts#L1
vscode/enterprise-cody-ignore.test.ts took 19.1s
Slow Test: vscode/chat-atFile.test.ts#L1
vscode/chat-atFile.test.ts took 1.5m
Slow Test: vscode/chat-input.test.ts#L1
vscode/chat-input.test.ts took 31.5s
🎭 Playwright Run Summary
8 skipped 5 passed (1.0m)
🎭 Playwright Run Summary
4 skipped 7 passed (1.6m)
🎭 Playwright Run Summary
2 skipped 10 passed (2.7m)
🎭 Playwright Run Summary
10 passed (2.8m)
🎭 Playwright Run Summary
2 failed chat-history.test.ts:17:3 › restore chat from sidebar history view ───────────────────────────── chat-history.test.ts:50:3 › delete chat from sidebar history view ────────────────────────────── 3 skipped 7 passed (3.0m)

Artifacts

Produced during runtime
Name Size
playwright-recordings ubuntu
1.63 MB