fix: tidy up Agentic Chat and Context accordions and behaviour #26078
Annotations
1 error, 3 warnings, and 1 notice
Run GITHUB_REF=$BRANCH_NAME xvfb-run -a pnpm -C vscode run test:e2e --shard=5/5:
vscode/test/e2e/mention-repository.test.ts#L45
1) mention-repository.test.ts:14:18 › @-mention repository ───────────────────────────────────────
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 - 3
+ Received + 1
- Array [
- "codehost.example/user/myrepo",
- ]
+ Array []
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')
- locator resolved to 0 elements
- locator resolved to 0 elements
- locator resolved to 0 elements
- locator resolved to 0 elements
- locator resolved to 0 elements
- locator resolved to 0 elements
- locator resolved to 0 elements
- locator resolved to 0 elements
- locator resolved to 0 elements
43 |
44 | // Wait for the current user repo to be loaded before opening the mention menu.
> 45 | await expect(chatInputMentions(lastChatInput)).toHaveText([userRepo])
| ^
46 | await openMentionsForProvider(chatFrame, lastChatInput, 'Remote Repositories')
47 | await expect(mentionMenuItems(chatFrame)).toHaveText(['a/b', 'c/d'])
48 | await selectMentionMenuItem(chatFrame, 'c/d')
at /home/runner/work/cody/cody/vscode/test/e2e/mention-repository.test.ts:45:52
|
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=5/5:
vscode/initial-context.test.ts#L1
vscode/initial-context.test.ts took 1.0m
|
Run GITHUB_REF=$BRANCH_NAME xvfb-run -a pnpm -C vscode run test:e2e --shard=5/5:
vscode/support-menu-items.test.ts#L1
vscode/support-menu-items.test.ts took 21.6s
|
Run GITHUB_REF=$BRANCH_NAME xvfb-run -a pnpm -C vscode run test:e2e --shard=5/5
1 flaky
mention-repository.test.ts:14:18 › @-mention repository ────────────────────────────────────────
4 skipped
6 passed (1.9m)
|
Loading