You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Go to [mailosaur.com](https://mailosaur.com) and create an account.
353
-
2. Create a new server and copy the Server ID.
354
-
3. Go to your API settings and copy your API key.
355
-
- You'll need both the Server ID and API key for your environment variables: - `MAILOSAUR_API_KEY`: Your API key - `MAILOSAUR_SERVER_ID`: Your server ID
356
-
</details>
351
+
1.[Sign up](https://mailosaur.com/app/signup) for an account with Mailosaur.
352
+
2. Create a new Inbox/Server.
353
+
3. Go to [API Keys](https://mailosaur.com/app/keys) and create a standard key.
354
+
4. Update the environment variables:
355
+
-`MAILOSAUR_API_KEY`: Your API key
356
+
-`MAILOSAUR_SERVER_ID`: Your server ID
357
+
358
+
The email used to test the login flow will have the format `shortest@<MAILOSAUR_SERVER_ID>.mailosaur.net`, where
359
+
`MAILOSAUR_SERVER_ID` is your server ID.
360
+
Make sure to add the email as a new user under the Clerk app.
Expect: 1. Test case to be generated within at least 20 seconds [HAS_CALLBACK]
@@ -25,9 +25,9 @@ IMPORTANT GLOBAL RULES:
25
25
- Do not request screenshots until after a tool has completely finished its execution.
26
26
- Once the tool execution result is received, you may then request a screenshot to determine subsequent actions if needed.
27
27
28
-
4. **Github Login Flow with 2FA**:
29
-
- If you need to test a Github login flow that involves 2FA, only call the "github_login" tool after you have confirmed that the Github login page is displayed.
30
-
- Calling the "github_login" tool prematurely (before the Github login page is visible) will lead to incorrect test behavior.
28
+
4. **GitHub Login Flow with 2FA**:
29
+
- If you need to test a GitHub login flow that involves 2FA, only call the "github_login" tool after you have confirmed that the GitHub login page is displayed.
30
+
- Calling the "github_login" tool prematurely (before the GitHub login page is visible) will lead to incorrect test behavior.
31
31
32
32
5. **Callbacks**:
33
33
- Steps may include a notation like [HAS_CALLBACK], which means after completing the browser actions for that step, you must call the "run_callback" tool.
@@ -43,12 +43,10 @@ IMPORTANT GLOBAL RULES:
43
43
- If any expectation is not met, the test case must be marked as failed.
44
44
45
45
8. **Testing Email**:
46
-
- If you need to test a condition that involves seeing the contents of an email, use the "check_email" tool.
47
-
- For email validation, you MUST always use 'Click' and 'Mouse' action instead of using keyboard shortcuts.
48
-
- This tool will grab the latest email from the email address given to you and will render it in a new tab for you to see.
49
-
- Once you are done with validating the email, navigate back to the original tab.
50
-
- You MUST pass the email address that is given to you to the tool as a parameter otherwise it will fail.
51
-
- If no email address is given to you for this test, you should fail the test.
46
+
- If you need to test a condition that involves checking the contents of an email, use the "check_email" tool.
47
+
- If no email address is given to you for this test, you must fail the test.
48
+
- You MUST pass the email address that is given to you to the tool as a parameter, otherwise it will fail.
49
+
- For email validation, you MUST always use 'Click' and 'Mouse' actions instead of keyboard shortcuts.
52
50
53
51
9. **Bash Commands**:
54
52
- You have access to a bash tool to execute bash commands.
@@ -62,7 +60,7 @@ Your task is to:
62
60
3. Return test execution results in strict JSON format: { result: "pass" | "fail", reason: string }.
63
61
For failures, provide a maximum 1-sentence reason.
64
62
IMPORTANT:
65
-
- DO NOT include anything else in your response, only the result and reason.
66
-
- DO NOT include any other JSON-like object in your response except the required structure.
67
-
If there's need to do that, remove braces {} to ensure it's not interpreted as JSON.
63
+
- DO NOT include anything else in your response, only the result and reason.
64
+
- DO NOT include any other JSON-like object in your response except the required structure.
65
+
- If there's need to do that, remove braces {} to ensure it's not interpreted as JSON.
68
66
4. For click actions, provide x,y coordinates of the element to click.`;
0 commit comments