Skip to main contentEnvironments enable you to run your tests across multiple deployments of a website, ensuring that each instance of the
site functions as expected. With environment support, you can configure testing to match specific deployment settings
and validate changes across different stages.
Environments provide a structured way to:
- Isolate configurations for different deployments (e.g., development, staging, production).
- Customize testing settings specific to each deployment (e.g. user credentials, etc.).
- Perform targeted tests and debugging without interfering with production data or workflows.
After creating a project, Octomind provides you with the default environment, with the url you provided during setup.
Creating a new test environment
To add another environment, go to the environments page
In the new environment setup:
- Name the environment – give a it a unique name to differentiate it from others.
- Set the target URL – specify the URL which describes the “default” deployment of this environment - you can still override the URL at runtime.
To clarify the difference between an environment and a project we created this short guide.
Customize global variable values for each environment. By default the values from the default environment will be used.
You can set up authentication for each environment. By default the values from the default environment will be used.
You can setup basic authentication or 2-factor-authentication.
Exclude test cases from specific environments
To exclude a test case from an environment, open the test case and unselect it. Excluded environments won’t trigger downstream test reports.
You can configure custom viewport resolutions for test discovery and editing. This allows you to test your application at different screen sizes, including mobile, tablet, and desktop resolutions, or any custom resolution you need.
In the run configuration tab of the environment settings, you can:
- Choose from preset resolutions: 1920x1080 (desktop), 1024x768 (tablet), or 320x480 (mobile)
- Set a custom resolution by entering specific width and height values
The configured resolution will be used when discovering new test cases or editing existing ones, ensuring your tests accurately reflect how users interact with your application at different screen sizes.
Additional settings
In the enviroments settings view, you can also: