expose ModelsService.changes and listen to that in ChatController #21366
Annotations
3 errors, 1 warning, and 1 notice
Run GITHUB_REF=$BRANCH_NAME xvfb-run -a pnpm -C vscode run test:e2e --shard=2/5:
vscode/test/e2e/chat-input.test.ts#L208
1) chat-input.test.ts:191:3 › chat model selector ────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: frameLocator('iframe.webview:first-child:last-child').frameLocator('iframe').locator('[data-testid="chat-model"]').last()
Expected string: "Claude 3.5 Sonnet"
Received string: "Model"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for frameLocator('iframe.webview:first-child:last-child').frameLocator('iframe').locator('[data-testid="chat-model"]').last()
- locator resolved to <span data-testid="chat-model">Model</span>
- unexpected value "Model"
- locator resolved to <span data-testid="chat-model">Model</span>
- unexpected value "Model"
- locator resolved to <span data-testid="chat-model">Model</span>
- unexpected value "Model"
- locator resolved to <span data-testid="chat-model">Model</span>
- unexpected value "Model"
- locator resolved to <span data-testid="chat-model">Model</span>
- unexpected value "Model"
- locator resolved to <span data-testid="chat-model">Model</span>
- unexpected value "Model"
206 |
207 | async function expectModelName(modelName: string): Promise<void> {
> 208 | await expect(chatFrame.locator('[data-testid="chat-model"]').last()).toHaveText(modelName)
| ^
209 | }
210 |
211 | // Verify tooltip shows the correct model
at expectModelName (/home/runner/work/cody/cody/vscode/test/e2e/chat-input.test.ts:208:78)
at /home/runner/work/cody/cody/vscode/test/e2e/chat-input.test.ts:212:11
|
Run GITHUB_REF=$BRANCH_NAME xvfb-run -a pnpm -C vscode run test:e2e --shard=2/5:
vscode/test/e2e/chat-input.test.ts#L208
1) chat-input.test.ts:191:3 › chat model selector ────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: frameLocator('iframe.webview:first-child:last-child').frameLocator('iframe').locator('[data-testid="chat-model"]').last()
Expected string: "Claude 3.5 Sonnet"
Received string: "Model"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for frameLocator('iframe.webview:first-child:last-child').frameLocator('iframe').locator('[data-testid="chat-model"]').last()
- locator resolved to <span data-testid="chat-model">Model</span>
- unexpected value "Model"
- locator resolved to <span data-testid="chat-model">Model</span>
- unexpected value "Model"
- locator resolved to <span data-testid="chat-model">Model</span>
- unexpected value "Model"
- locator resolved to <span data-testid="chat-model">Model</span>
- unexpected value "Model"
- locator resolved to <span data-testid="chat-model">Model</span>
- unexpected value "Model"
- locator resolved to <span data-testid="chat-model">Model</span>
- unexpected value "Model"
206 |
207 | async function expectModelName(modelName: string): Promise<void> {
> 208 | await expect(chatFrame.locator('[data-testid="chat-model"]').last()).toHaveText(modelName)
| ^
209 | }
210 |
211 | // Verify tooltip shows the correct model
at expectModelName (/home/runner/work/cody/cody/vscode/test/e2e/chat-input.test.ts:208:78)
at /home/runner/work/cody/cody/vscode/test/e2e/chat-input.test.ts:212:11
|
Run GITHUB_REF=$BRANCH_NAME xvfb-run -a pnpm -C vscode run test:e2e --shard=2/5
Process completed with exit code 1.
|
Run GITHUB_REF=$BRANCH_NAME xvfb-run -a pnpm -C vscode run test:e2e --shard=2/5:
vscode/chat-rateLimit.test.ts#L1
vscode/chat-rateLimit.test.ts took 24.3s
|
Run GITHUB_REF=$BRANCH_NAME xvfb-run -a pnpm -C vscode run test:e2e --shard=2/5
1 failed
chat-input.test.ts:191:3 › chat model selector ─────────────────────────────────────────────────
9 passed (2.1m)
|
Loading