Environments let you run tests and suites against different base URLs — like staging or preview deployments — without modifying your test configurations.Documentation Index
Fetch the complete documentation index at: https://docs.getdecipher.com/llms.txt
Use this file to discover all available pages before exploring further.
Creating an Environment
- Go to the Tests page and navigate to Environments
- Click New Environment
- Fill in the details:
- Name — A label for this environment (e.g., “Staging”, “Preview”)
- URL — The base URL (e.g.,
https://staging.example.com) - Tokens (optional) — Key-value pairs for API keys or auth tokens needed in this environment
- Click Create
Running Tests Against an Environment
Once you’ve created environments, a dropdown appears on the Run button for both individual tests and suites:- Individual tests — Click the Run Test dropdown and select an environment. The test runs against that environment’s URL instead of the original.
- Suites — Click the play button on a suite row and choose an environment, or select Default (original URLs) to run with the original test URLs.
Managing Environments
From the Environments page, you can:- Edit — Click the pencil icon to update the name, URL, or tokens
- Delete — Click the trash icon to remove an environment
Tokens
Tokens are key-value pairs passed to your tests as environment-specific configuration. Common uses include:- API keys that differ between environments
- Auth tokens for service-to-service authentication
- Feature flags or configuration overrides