remove bug: prefix in issues (#5962) #22858
Annotations
5 errors, 5 warnings, and 1 notice
Run GITHUB_REF=$BRANCH_NAME pnpm -C vscode run test:e2e:
vscode/test/e2e/chat-atFile.test.ts#L369
1) chat-atFile.test.ts:358:3 › Add Selection to Cody Chat ────────────────────────────────────────
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 - 2
+ Received + 0
Array [
- "buzz.ts",
- "buzz.ts:2-5",
"buzz.ts:7-10",
]
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 1 element
- locator resolved to 1 element
- locator resolved to 1 element
- locator resolved to 1 element
- locator resolved to 1 element
- locator resolved to 1 element
- locator resolved to 1 element
- locator resolved to 1 element
- locator resolved to 1 element
367 | await selectLineRangeInEditorTab(page, 7, 10)
368 | await executeCommandInPalette(page, 'Cody: Add Selection to Cody Chat')
> 369 | await expect(chatInputMentions(lastChatInput)).toHaveText(['buzz.ts', 'buzz.ts:2-5', 'buzz.ts:7-10'])
| ^
370 | })
371 |
at /Users/runner/work/cody/cody/vscode/test/e2e/chat-atFile.test.ts:369:52
|
Run GITHUB_REF=$BRANCH_NAME pnpm -C vscode run test:e2e:
vscode/test/e2e/chat-atFile.test.ts#L369
1) chat-atFile.test.ts:358:3 › Add Selection to Cody Chat ────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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 - 2
+ Received + 0
Array [
- "buzz.ts",
- "buzz.ts:2-5",
"buzz.ts:7-10",
]
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 1 element
- locator resolved to 1 element
- locator resolved to 1 element
- locator resolved to 1 element
- locator resolved to 1 element
- locator resolved to 1 element
- locator resolved to 1 element
- locator resolved to 1 element
367 | await selectLineRangeInEditorTab(page, 7, 10)
368 | await executeCommandInPalette(page, 'Cody: Add Selection to Cody Chat')
> 369 | await expect(chatInputMentions(lastChatInput)).toHaveText(['buzz.ts', 'buzz.ts:2-5', 'buzz.ts:7-10'])
| ^
370 | })
371 |
at /Users/runner/work/cody/cody/vscode/test/e2e/chat-atFile.test.ts:369:52
|
Run GITHUB_REF=$BRANCH_NAME pnpm -C vscode run test:e2e:
vscode/test/e2e/chat-context.test.ts#L36
2) chat-context.test.ts:11:5 › chat followup context ─────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: frameLocator('.simple-find-part-wrapper + iframe.webview').last().frameLocator('iframe').locator('[data-testid="context"]').filter({ hasText: 'Context' })
Expected: 2
Received: 1
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for frameLocator('.simple-find-part-wrapper + iframe.webview').last().frameLocator('iframe').locator('[data-testid="context"]').filter({ hasText: 'Context' })
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
34 | await selectMentionMenuItem(chatFrame, 'var.go')
35 | await chatInput.press('Enter')
> 36 | expect(contextCells).toHaveCount(2)
| ^
37 | const lastContextCell = contextCells.last()
38 | expect(lastContextCell).toHaveText(/1 new item/)
39 | await openContextCell(lastContextCell)
at /Users/runner/work/cody/cody/vscode/test/e2e/chat-context.test.ts:36:26
|
Run GITHUB_REF=$BRANCH_NAME pnpm -C vscode run test:e2e:
vscode/test/e2e/chat-context.test.ts#L40
2) chat-context.test.ts:11:5 › chat followup context ─────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: frameLocator('.simple-find-part-wrapper + iframe.webview').last().frameLocator('iframe').locator('[data-testid="context"]').filter({ hasText: 'Context' }).last()
Expected pattern: /var\.go/
Received string: "Context— 1 item"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for frameLocator('.simple-find-part-wrapper + iframe.webview').last().frameLocator('iframe').locator('[data-testid="context"]').filter({ hasText: 'Context' }).last()
- locator resolved to <div role="row" data-testid="context" class="tw-flex tw-flex-col tw-gap-4">…</div>
- unexpected value "Context— 1 itemMain.java Public knowledge"
- locator resolved to <div role="row" data-testid="context" class="tw-flex tw-flex-col tw-gap-4">…</div>
- unexpected value "Context— 1 itemMain.java Public knowledge"
- locator resolved to <div role="row" data-testid="context" class="tw-flex tw-flex-col tw-gap-4">…</div>
- unexpected value "Context— 1 itemMain.java Public knowledge"
- locator resolved to <div role="row" data-testid="context" class="tw-flex tw-flex-col tw-gap-4">…</div>
- unexpected value "Context— 1 item"
- locator resolved to <div role="row" data-testid="context" class="tw-flex tw-flex-col tw-gap-4">…</div>
- unexpected value "Context— 1 item"
- locator resolved to <div role="row" data-testid="context" class="tw-flex tw-flex-col tw-gap-4">…</div>
- unexpected value "Context— 1 item"
- locator resolved to <div role="row" data-testid="context" class="tw-flex tw-flex-col tw-gap-4">…</div>
- unexpected value "Context— 1 item"
- locator resolved to <div role="row" data-testid="context" class="tw-flex tw-flex-col tw-gap-4">…</div>
- unexpected value "Context— 1 item"
- locator resolved to <div role="row" data-testid="context" class="tw-flex tw-flex-col tw-gap-4">…</div>
- unexpected value "Context— 1 item"
38 | expect(lastContextCell).toHaveText(/1 new item/)
39 | await openContextCell(lastContextCell)
> 40 | await expect(lastContextCell).toHaveText(/var\.go/)
| ^
41 | await expect(lastContextCell).toHaveText(/Prior messages/)
42 | })
43 |
at /Users/runner/work/cody/cody/vscode/test/e2e/chat-context.test.ts:40:35
|
Run GITHUB_REF=$BRANCH_NAME pnpm -C vscode run test:e2e
Process completed with exit code 1.
|
Run GITHUB_REF=$BRANCH_NAME pnpm -C vscode run test:e2e:
vscode/command-custom.test.ts#L1
vscode/command-custom.test.ts took 48.0s
|
Run GITHUB_REF=$BRANCH_NAME pnpm -C vscode run test:e2e:
vscode/chat-input.test.ts#L1
vscode/chat-input.test.ts took 38.1s
|
Run GITHUB_REF=$BRANCH_NAME pnpm -C vscode run test:e2e:
vscode/initial-context.test.ts#L1
vscode/initial-context.test.ts took 31.8s
|
Run GITHUB_REF=$BRANCH_NAME pnpm -C vscode run test:e2e:
vscode/command-edit.test.ts#L1
vscode/command-edit.test.ts took 25.9s
|
Run GITHUB_REF=$BRANCH_NAME pnpm -C vscode run test:e2e:
vscode/command-core.test.ts#L1
vscode/command-core.test.ts took 25.3s
|
Run GITHUB_REF=$BRANCH_NAME pnpm -C vscode run test:e2e
1 failed
chat-atFile.test.ts:358:3 › Add Selection to Cody Chat ─────────────────────────────────────────
1 flaky
chat-context.test.ts:11:5 › chat followup context ──────────────────────────────────────────────
3 skipped
42 passed (7.5m)
|
Loading