Fixing and simplifying New Chat keybindings logic #25029
Annotations
3 errors, 5 warnings, and 1 notice
Run GITHUB_REF=$BRANCH_NAME xvfb-run -a pnpm -C vscode run test:e2e --shard=2/5:
vscode/test/e2e/chat-keyboard-shortcuts.test.ts#L47
1) chat-keyboard-shortcuts.test.ts:35:5 › re-opening chat adds selection ─────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: frameLocator('.simple-find-part-wrapper + iframe.webview').last().frameLocator('iframe').getByRole('textbox', { name: 'Chat message' }).last().locator('.context-item-mention-node')
Expected pattern: /^buzz.ts:2-4$/
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for frameLocator('.simple-find-part-wrapper + iframe.webview').last().frameLocator('iframe').getByRole('textbox', { name: 'Chat message' }).last().locator('.context-item-mention-node')
45 | await selectLineRangeInEditorTab(page, 2, 4)
46 | await page.keyboard.press('Shift+Alt+l')
> 47 | await expect(chatInputMentions(lastChatInput)).toHaveText(/^buzz.ts:2-4$/)
| ^
48 |
49 | // Re-opening chat does not add duplicate selection
50 | await openFileInEditorTab(page, 'buzz.ts')
at /home/runner/work/cody/cody/vscode/test/e2e/chat-keyboard-shortcuts.test.ts:47:52
|
Run GITHUB_REF=$BRANCH_NAME xvfb-run -a pnpm -C vscode run test:e2e --shard=2/5:
vscode/test/e2e/chat-keyboard-shortcuts.test.ts#L47
1) chat-keyboard-shortcuts.test.ts:35:5 › re-opening chat adds selection ─────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: frameLocator('.simple-find-part-wrapper + iframe.webview').last().frameLocator('iframe').getByRole('textbox', { name: 'Chat message' }).last().locator('.context-item-mention-node')
Expected pattern: /^buzz.ts:2-4$/
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for frameLocator('.simple-find-part-wrapper + iframe.webview').last().frameLocator('iframe').getByRole('textbox', { name: 'Chat message' }).last().locator('.context-item-mention-node')
45 | await selectLineRangeInEditorTab(page, 2, 4)
46 | await page.keyboard.press('Shift+Alt+l')
> 47 | await expect(chatInputMentions(lastChatInput)).toHaveText(/^buzz.ts:2-4$/)
| ^
48 |
49 | // Re-opening chat does not add duplicate selection
50 | await openFileInEditorTab(page, 'buzz.ts')
at /home/runner/work/cody/cody/vscode/test/e2e/chat-keyboard-shortcuts.test.ts:47:52
|
Run GITHUB_REF=$BRANCH_NAME xvfb-run -a pnpm -C vscode run test:e2e --shard=2/5
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run GITHUB_REF=$BRANCH_NAME xvfb-run -a pnpm -C vscode run test:e2e --shard=2/5:
vscode/chat-input.test.ts#L1
vscode/chat-input.test.ts took 58.8s
|
Run GITHUB_REF=$BRANCH_NAME xvfb-run -a pnpm -C vscode run test:e2e --shard=2/5:
vscode/chat-history.test.ts#L1
vscode/chat-history.test.ts took 22.6s
|
Run GITHUB_REF=$BRANCH_NAME xvfb-run -a pnpm -C vscode run test:e2e --shard=2/5:
vscode/chat-messages.test.ts#L1
vscode/chat-messages.test.ts took 20.9s
|
Run GITHUB_REF=$BRANCH_NAME xvfb-run -a pnpm -C vscode run test:e2e --shard=2/5:
vscode/chat-context.test.ts#L1
vscode/chat-context.test.ts took 15.7s
|
Run GITHUB_REF=$BRANCH_NAME xvfb-run -a pnpm -C vscode run test:e2e --shard=2/5
1 failed
chat-keyboard-shortcuts.test.ts:35:5 › re-opening chat adds selection ──────────────────────────
9 passed (2.9m)
|
Loading