Fixing and simplifying New Chat keybindings logic #25710
Annotations
1 error, 3 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-atFile.test.ts#L225
1) chat-atFile.test.ts:216:3 › editing a chat message with @-mention ─────────────────────────────
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' }).first()
Expected string: "Explain Main.java "
Received string: "workspace Explain Main.java "
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for frameLocator('.simple-find-part-wrapper + iframe.webview').last().frameLocator('iframe').getByRole('textbox', { name: 'Chat message' }).first()
- locator resolved to <div role="textbox" spellcheck="true" contenteditable="true" aria-label="Chat message" data-lexical-editor="true" class="_content-editable_s4gjm_6 _editor-content-editable_1eiqs_30">…</div>
- unexpected value "workspace Explain Main.java "
- locator resolved to <div role="textbox" spellcheck="true" contenteditable="true" aria-label="Chat message" data-lexical-editor="true" class="_content-editable_s4gjm_6 _editor-content-editable_1eiqs_30">…</div>
- unexpected value "workspace Explain Main.java "
- locator resolved to <div role="textbox" spellcheck="true" contenteditable="true" aria-label="Chat message" data-lexical-editor="true" class="_content-editable_s4gjm_6 _editor-content-editable_1eiqs_30">…</div>
- unexpected value "workspace Explain Main.java "
- locator resolved to <div role="textbox" spellcheck="true" contenteditable="true" aria-label="Chat message" data-lexical-editor="true" class="_content-editable_s4gjm_6 _editor-content-editable_1eiqs_30">…</div>
- unexpected value "workspace Explain Main.java "
- locator resolved to <div role="textbox" spellcheck="true" contenteditable="true" aria-label="Chat message" data-lexical-editor="true" class="_content-editable_s4gjm_6 _editor-content-editable_1eiqs_30">…</div>
- unexpected value "workspace Explain Main.java "
- locator resolved to <div role="textbox" spellcheck="true" contenteditable="true" aria-label="Chat message" data-lexical-editor="true" class="_content-editable_s4gjm_6 _editor-content-editable_1eiqs_30">…</div>
- unexpected value "workspace Explain Main.java "
- locator resolved to <div role="textbox" spellcheck="true" contenteditable="true" aria-label="Chat message" data-lexical-editor="true" class="_content-editable_s4gjm_6 _editor-content-editable_1eiqs_30">…</div>
- unexpected value "workspace Explain Main.java "
- locator resolved to <div role="textbox" spellcheck="true" contenteditable="true" aria-label="Chat message" data-lexical-editor="true" class="_content-editable_s4gjm_6 _editor-content-editable_1eiqs_30">…</div>
- unexpected value "workspace Explain Main.java "
- locator resolved to <div role="textbox" spellcheck="true" contenteditable="true" aria-label="Chat message" data-lexical-editor="true" class="_content-editable_s4gjm_6 _editor-content-editable_1eiqs_30">…</div>
- unexpected value "workspace Explain Main.java "
223 | await firstChatInput.pressSequentially('@mj', { delay: 350 })
224 | await chatPanelFrame.getByRole('option', { name: 'Main.java' }).click()
> 225 | await expect(firstChatInput).toHaveText('Explain Main.java ')
| ^
226 | await firstChatInput.press('Enter')
227 | const contextCell = getContextCell(chatPanelFrame)
228 | await expectContextCellCounts(contextCell, { files: 1 })
at /home/runner/work/cody/cody/vscode/test/e2e/chat-atFile.test.ts:225:34
|
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 1.0m
|
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 23.1s
|
Run GITHUB_REF=$BRANCH_NAME xvfb-run -a pnpm -C vscode run test:e2e --shard=2/5
1 flaky
chat-atFile.test.ts:216:3 › editing a chat message with @-mention ──────────────────────────────
11 passed (3.4m)
|
Loading