refactor(webview): relocate model selector #27435
Annotations
4 errors, 2 warnings, and 1 notice
Run GITHUB_REF=$BRANCH_NAME xvfb-run -a pnpm -C vscode run test:e2e --shard=5/5:
vscode/test/e2e/enterprise-server-sent-models.test.ts#L18
1) enterprise-server-sent-models.test.ts:6:5 › allows multiple enterprise models when server-sent models is enabled
Error: Timed out 5000ms waiting for expect(locator).toBeEnabled()
Locator: frameLocator('.simple-find-part-wrapper + iframe.webview').last().frameLocator('iframe').getByRole('combobox', { name: 'Select a model' }).last()
Expected: enabled
Received: <element(s) not found>
Call log:
- expect.toBeEnabled with timeout 5000ms
- waiting for frameLocator('.simple-find-part-wrapper + iframe.webview').last().frameLocator('iframe').getByRole('combobox', { name: 'Select a model' }).last()
16 |
17 | // First model in the server list should be selected as default
> 18 | await expect(modelSelect).toBeEnabled()
| ^
19 | await expect(modelSelect).toHaveText(/^Opus/)
20 |
21 | // Change selection to Titan and assert it was updated
at /home/runner/work/cody/cody/vscode/test/e2e/enterprise-server-sent-models.test.ts:18:31
|
Run GITHUB_REF=$BRANCH_NAME xvfb-run -a pnpm -C vscode run test:e2e --shard=5/5:
vscode/test/e2e/enterprise-server-sent-models.test.ts#L18
1) enterprise-server-sent-models.test.ts:6:5 › allows multiple enterprise models when server-sent models is enabled
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeEnabled()
Locator: frameLocator('.simple-find-part-wrapper + iframe.webview').last().frameLocator('iframe').getByRole('combobox', { name: 'Select a model' }).last()
Expected: enabled
Received: <element(s) not found>
Call log:
- expect.toBeEnabled with timeout 5000ms
- waiting for frameLocator('.simple-find-part-wrapper + iframe.webview').last().frameLocator('iframe').getByRole('combobox', { name: 'Select a model' }).last()
16 |
17 | // First model in the server list should be selected as default
> 18 | await expect(modelSelect).toBeEnabled()
| ^
19 | await expect(modelSelect).toHaveText(/^Opus/)
20 |
21 | // Change selection to Titan and assert it was updated
at /home/runner/work/cody/cody/vscode/test/e2e/enterprise-server-sent-models.test.ts:18:31
|
Run GITHUB_REF=$BRANCH_NAME xvfb-run -a pnpm -C vscode run test:e2e --shard=5/5
Process completed with exit code 1.
|
Run actions/upload-artifact@v4
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
|
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 39.9s
|
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 22.3s
|
Run GITHUB_REF=$BRANCH_NAME xvfb-run -a pnpm -C vscode run test:e2e --shard=5/5
1 failed
enterprise-server-sent-models.test.ts:6:5 › allows multiple enterprise models when server-sent models is enabled
4 skipped
6 passed (1.8m)
|
Loading