cypress_run
Run Cypress tests with custom configuration. Specify browser, headless mode, base URL, environment variables, and more to get test results including pass/fail counts and run ID.
Instructions
Run Cypress tests with specified options. Returns test results including pass/fail counts, duration, and run ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | No | Specific test file or glob pattern to run (e.g., "cypress/e2e/login.cy.js") | |
| browser | No | Browser to run tests in | |
| headless | No | Run in headless mode (default: true) | |
| baseUrl | No | Base URL for the application under test | |
| env | No | Environment variables to pass to Cypress | |
| config | No | Additional Cypress configuration options |