Skip to content

Commit

Permalink
test: update snapshot.
Browse files Browse the repository at this point in the history
  • Loading branch information
asafkorem committed Oct 18, 2024
1 parent 8ac0077 commit 7109d14
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/utils/__snapshots__/PromptCreator.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ Please follow these steps carefully:
1. Analyze the provided intent, the view hierarchy, and the snapshot image to understand the required action.
2. Determine if the intent can be fully validated visually using the snapshot image.
3. If the intent can be visually asserted and passes the visual check, return code that only comments on the visual test.
3. If the intent can be visually analyzed and passes the visual check, return only comments explaining the successful visual assertion.
4. If the visual assertion fails, return code that throws an informative error explaining the failure.
5. If visual validation is not possible or insufficient, generate the minimal executable code required to perform the intent using the available API.
5. If visual validation is not possible, proceed to generate the minimal executable code required to perform the intent.
6. If you cannot generate the relevant code due to ambiguity or invalid intent, return code that throws an informative error explaining the problem in one sentence.
7. Wrap the generated code with backticks, without any additional formatting.
8. Do not provide any additional code beyond the minimal executable code required to perform the intent.
Expand Down Expand Up @@ -205,7 +205,7 @@ Your task is to generate the minimal executable code to perform the following in
Please follow these steps carefully:
1. Analyze the provided intent and the view hierarchy to understand the required action.
2. If visual validation is not possible or insufficient, generate the minimal executable code required to perform the intent using the available API.
2. Generate the minimal executable code required to perform the intent using the available API.
3. If you cannot generate the relevant code due to ambiguity or invalid intent, return code that throws an informative error explaining the problem in one sentence.
4. Wrap the generated code with backticks, without any additional formatting.
5. Do not provide any additional code beyond the minimal executable code required to perform the intent.
Expand Down Expand Up @@ -326,7 +326,7 @@ Your task is to generate the minimal executable code to perform the following in
Please follow these steps carefully:
1. Analyze the provided intent and the view hierarchy to understand the required action.
2. If visual validation is not possible or insufficient, generate the minimal executable code required to perform the intent using the available API.
2. Generate the minimal executable code required to perform the intent using the available API.
3. If you cannot generate the relevant code due to ambiguity or invalid intent, return code that throws an informative error explaining the problem in one sentence.
4. Wrap the generated code with backticks, without any additional formatting.
5. Do not provide any additional code beyond the minimal executable code required to perform the intent.
Expand Down

0 comments on commit 7109d14

Please sign in to comment.