Overview
Supatest provides multiple ways to run your tests depending on your needs. Whether you’re debugging in the editor, running scheduled test plans, or triggering from CI/CD, each run mode serves a specific purpose.Run Modes
Manual Runs
Start tests directly from the dashboard or test list. How to use:- Navigate to your test case
- Click the Run button
- Select environment if prompted
- Test executes immediately
- Quick validation after changes
- One-off test execution
- Verifying fixes before committing
Editor Runs
Execute tests while editing in the test editor with granular control. Run options:| Option | Description | Use Case |
|---|---|---|
| Run All | Execute all steps from start | Full test validation |
| Run Single Step | Execute only one step | Testing a specific step |
| Run Until Here | Run from current step to end | Continue from a point |
| Run From Start | Fresh browser, all steps | Clean state validation |
- Open a test in the editor
- Use the run controls in the toolbar:
- Run All: Click the play button
- Run Single Step: Hover over step, click play icon
- Run Until Here: Hover over step, click fast-forward icon
- Debugging failing steps
- Iterative test development
- Testing step modifications
Scheduled Runs
Automatic test execution based on configured schedules via Test Plans. Schedule types:- Hourly: Run every N hours
- Daily: Run at specific time each day
- Weekly: Run on specific days of the week
- Monthly: Run on specific days of the month
- Custom: Complex schedules using cron expressions
- Create or open a Test Plan
- Add tests to the plan
- Configure schedule settings
- Enable the schedule
- Tests run automatically
- Regression testing
- Continuous monitoring
- Overnight test suites
API-Triggered Runs
Start tests programmatically via the Supatest API. Common triggers:- CI/CD pipelines (GitHub Actions, GitLab CI, Jenkins)
- Deployment hooks
- Custom automation scripts
- Generate an API key in Settings
- Use the test plan trigger endpoint
- Pass environment and configuration
- CI/CD integration
- Post-deployment verification
- Automated workflows
Choosing the Right Run Mode
| Scenario | Recommended Mode |
|---|---|
| Developing new test | Editor runs |
| Debugging failure | Editor (Run Single Step) |
| Quick validation | Manual run |
| Nightly regression | Scheduled run |
| Post-deploy check | API-triggered |
| Continuous monitoring | Scheduled run |
Run Configuration
Environment Selection
Choose which environment to use for the run:- Default: Uses test’s default environment
- Select: Choose from available environments
- Override: Pass environment via API
Browser Settings
Configure browser for the run:| Setting | Options |
|---|---|
| Browser | Chromium, Firefox, WebKit |
| Headless | Yes / No |
| Viewport | Desktop, Tablet, Mobile, Custom |
Timeout Settings
Adjust timeouts per run:- Step timeout: Max time per step (default: 10s)
- Test timeout: Max total duration (default: 5min)
Run States
Each run progresses through states:| State | Description |
|---|---|
| Queued | Waiting for available runner |
| Running | Currently executing |
| Passed | All steps completed successfully |
| Failed | One or more steps failed |
| Cancelled | Manually stopped |
| Timed Out | Exceeded maximum duration |
Cancelling Runs
Stop a running test: From Dashboard:- Find the running test
- Click Cancel or stop icon
- Run stops at current step
- Click the stop button in toolbar
- Execution halts immediately
Run Artifacts
Each run generates artifacts for debugging:| Artifact | Description | Available |
|---|---|---|
| Video | Full execution recording | After completion |
| Screenshots | Per-step images | During/after run |
| Trace | Detailed timeline | After completion |
| Raw Logs | Technical output | Streaming |
| AI Logs | Summarized insights | After generation |
Best Practices
During Development
- Use Run Single Step to test changes quickly
- Use Run Until Here to validate flow continuation
- Use Run All for final validation
For Debugging
- Start with Run Single Step on failing step
- Check if issue is isolated or depends on prior state
- Use Run From Start if state-dependent
For CI/CD
- Use API triggers for automation
- Set appropriate timeouts for CI environment
- Use headless mode for faster execution
- Configure failure notifications
For Monitoring
- Set up scheduled runs at appropriate intervals
- Use Test Plans to group related tests
- Configure alerts for failures
- Review trends in run history
Troubleshooting
Run Stuck in Queued
- Check runner availability
- Verify parallel execution limits
- Contact support if persists
Run Taking Too Long
- Check for unnecessary waits
- Review network calls in trace
- Optimize step timeouts
- Consider parallel execution
Cannot Start Run
- Verify test is not already running
- Check browser session status
- Ensure valid environment selected
- Verify account has available runs
Related
- Execution - Execution overview and lifecycle
- Parallel Execution - Running tests concurrently
- Test Plans - Scheduling and organizing runs
- CI Integration - Pipeline integration
- Debugging Tests - Using run artifacts

