Skip to content

Commit

Permalink
remove ✨ emoji from context title in e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
abeatrix committed Mar 25, 2024
1 parent 4776a9f commit a0ac24e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vscode/test/e2e/cody-ignore.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ test.extend<ExpectedEvents>({
// Assistant should response to your chat question,
// but the current file is excluded (ignoredByCody.css) and not on the context list
await expect(chatPanel.getByText('hello from the assistant')).toBeVisible()
expect(await chatPanel.getByText(/^Context:/).count()).toEqual(0)
expect(await chatPanel.getByText(/^Context:/).count()).toEqual(0)

/* TEST: At-file - Ignored file does not show up as context when using @-mention */
await chatInput.focus()
Expand Down
2 changes: 1 addition & 1 deletion vscode/test/e2e/local-embeddings.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ test
const chatInput = chatFrame.getByRole('textbox', { name: 'Chat message' })
await chatInput.fill('hello world')
await chatInput.press('Enter')
await expect(chatFrame.getByText(/Context: \d+ lines from 2 files/)).toBeVisible({
await expect(chatFrame.getByText(/Context: \d+ lines from 2 files/)).toBeVisible({
timeout: 10000,
})
})

0 comments on commit a0ac24e

Please sign in to comment.