Skip to content

Commit

Permalink
Update TESTING.md (#694)
Browse files Browse the repository at this point in the history
Added Guardrails test conditions for JB client

## Test plan

Documentation change -reading through and review.

---------

Co-authored-by: Cezary Bartoszuk <[email protected]>
  • Loading branch information
aramaraju and cbart authored Aug 9, 2024
1 parent 2303733 commit 1897c8b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -774,6 +774,18 @@ Repeat the above starting from different themes.

Changing theme should lead to full repaint of the colours according to the current theme.

### Guardrails

In chat ask Cody a question to generate over 10 lines of text, for instance: `Please implement DFS in at least 10 lines of Haskell`

#### Expected behavior

When hovering over a code snippet printed by Cody, a set of buttons will appear.
The disabled one on the right-hand side is expected to say _Guardrails Check Passed_.
The tooltip for the button should say _Snippet not found on Sourcegraph.com._

The button is expected for a short time period (less than 10s) to indicate search is running rather than a positive check result. The button label at that point will just be _Attribution search_.

## Inline Edit

Select some code and right-click on it. Got to `Cody > Edit Code`.
Expand Down

0 comments on commit 1897c8b

Please sign in to comment.