Creating a New Test
Creating a new test in Mechasm is a straightforward process that begins on the main Tests page.
1. Navigate to the Create Test Form
From the main Tests dashboard, click the "Create Test" button. This will take you to the test creation form, where you can define your new test case.
2. Define Your Test
The test creation form has two main fields:
- Name: A descriptive name for your test (e.g., "User Login Flow").
- Prompt: The detailed, step-by-step instructions for the test. This is where you will write the user actions to be performed.


Using Environment Variables
If you have configured environment variables for your project, you can easily insert them into your prompt. Simply click on the variable you want to add, and it will be inserted at your cursor's position in the prompt editor.


3. Create and Run the Test
Once you have filled out the form, click the "Create Test" button at the bottom. The system will first validate your test steps. If they are valid, a new test will be created, and you will be automatically redirected to the Test Run Details page, where you can watch your new test execute in real-time.