[Backport jb-v7.12.x] fix: handle missing spaces around @ mentions in cody chat #26128
ci.yml
on: pull_request
fast_tests_matrix_prep
0s
slow_tests_matrix_prep
0s
build
2m 33s
Matrix: test-integration
Matrix: test-unit
Matrix: test-e2e
Annotations
1 error, 14 warnings, and 5 notices
command-edit.test.ts:143:1 › edit (fixup) input - model selection:
vscode/test/e2e/command-edit.test.ts#L159
1) command-edit.test.ts:143:1 › edit (fixup) input - model selection ─────────────────────────────
Error: expect(locator).toBeVisible()
Locator: getByLabel('$(anthropic-logo) Claude 3.5 Sonnet').locator('a')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByLabel('$(anthropic-logo) Claude 3.5 Sonnet').locator('a')
- locator resolved to <a class="label-name">…</a>
- unexpected value "hidden"
- locator resolved to <a class="label-name">…</a>
- unexpected value "hidden"
- locator resolved to <a class="label-name">…</a>
- unexpected value "hidden"
- locator resolved to <a class="label-name">…</a>
- unexpected value "hidden"
157 | const modelItem = page.getByLabel('$(anthropic-logo) Claude 3.5 Sonnet').locator('a')
158 | await nap()
> 159 | expect(modelItem).toBeVisible()
| ^
160 |
161 | // Open the model input and check it has the correct item selected
162 | await modelItem.click()
at /home/runner/work/cody/cody/vscode/test/e2e/command-edit.test.ts:159:23
|
Slow Test:
vscode/auth.test.ts#L1
vscode/auth.test.ts took 34.0s
|
Slow Test:
vscode/attribution.test.ts#L1
vscode/attribution.test.ts took 25.7s
|
Slow Test:
vscode/initial-context.test.ts#L1
vscode/initial-context.test.ts took 56.2s
|
Slow Test:
vscode/uninstall.test.ts#L1
vscode/uninstall.test.ts took 31.9s
|
Slow Test:
vscode/support-menu-items.test.ts#L1
vscode/support-menu-items.test.ts took 21.7s
|
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.4s
|
Slow Test:
vscode/chat-history.test.ts#L1
vscode/chat-history.test.ts took 23.9s
|
Slow Test:
vscode/command-core.test.ts#L1
vscode/command-core.test.ts took 45.4s
|
Slow Test:
vscode/code-actions.test.ts#L1
vscode/code-actions.test.ts took 35.1s
|
Slow Test:
vscode/chat-rateLimit.test.ts#L1
vscode/chat-rateLimit.test.ts took 35.1s
|
Slow Test:
vscode/chat-messages.test.ts#L1
vscode/chat-messages.test.ts took 22.5s
|
Slow Test:
vscode/command-custom.test.ts#L1
vscode/command-custom.test.ts took 1.3m
|
Slow Test:
vscode/enterprise-cody-ignore.test.ts#L1
vscode/enterprise-cody-ignore.test.ts took 19.0s
|
🎭 Playwright Run Summary
8 skipped
5 passed (1.1m)
|
🎭 Playwright Run Summary
3 skipped
8 passed (2.1m)
|
🎭 Playwright Run Summary
3 skipped
9 passed (2.5m)
|
🎭 Playwright Run Summary
2 skipped
10 passed (2.6m)
|
🎭 Playwright Run Summary
1 flaky
command-edit.test.ts:143:1 › edit (fixup) input - model selection ──────────────────────────────
9 passed (3.1m)
|