Skip to content

Commit

Permalink
Update prompts.ts (anti-work#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
slavingia authored Nov 22, 2024
2 parents c491260 + 964bf51 commit 602fad6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/shortest/src/ai/prompts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ tool has finished its execution before you continue with the next action. Once t
has finished its execution, you will recieve the result of the tool execution wether it failed or not. You can decide
to continue based on the result.
2. Do not ask for screenshot until the tool has finished its execution. Once the tool has finished its execution,
has finished its execution, you will recieve the result of the tool execution wether it failed or not.
Then you can ask for screenshot to determine for your next action if anything else is needed.
2. Do not ask for screenshot until the tool has finished its execution. Once the tool has finished its execution,
you will recieve the result of the tool execution wether it failed or not.
Then you can ask for a screenshot to determine for your next action if anything else is needed.
3. If you need to test a scenario that requires you to test the login flow,
you will need to clear the browser data. For that you can use the "logout" tool that is provided to you via tools api.
you will need to clear the browser data. For that you can use the "logout" tool that is provided to you via the tools api.
Your task is to:
1. Execute browser actions to validate test cases
2. Use provided browser tools to interact with the page
3. Return results in strict JSON format: { result: "pass" | "fail", reason: string }. for the failure reason,
provide a maximum of 1 sentence.
4. For any click actions, you will need to provide the x,y coordinates of the element to click.
`;
`;

0 comments on commit 602fad6

Please sign in to comment.