> ## Documentation Index
> Fetch the complete documentation index at: https://docs.empirical.run/llms.txt
> Use this file to discover all available pages before exploring further.

# Environments

> Run your tests across different deployments

Environments enable you to run your tests across different deployments (e.g. development, staging, production). Each environment can have its own configuration, environment variables, and scheduled runs.

## Creating a New Environment

<Steps>
  <Step title="Navigate to Environments">
    Go to the **Environments** page
  </Step>

  <Step title="Create environment">
    Click on **'Create New Environment'**
  </Step>

  <Step title="Configure your environment">
    * **Name**: Give your environment a descriptive name (e.g., "Production", "Staging")
    * **Default Environment**: Toggle to make this your default test environment
    * **Playwright Project Patterns**: Use glob patterns to match specific test projects
    * **Environment Variables**: Add or override environment variables specific to this environment
  </Step>
</Steps>

## Environment Features

### Scheduled Triggers

Set up cron expressions to run tests automatically.

* Visual preview of next 3 scheduled run times (in UTC and local time)
* Conflict detection to prevent overlapping scheduled runs

### Build Management

Associate specific builds with environments.

* Link build URLs
* Track commit information and versions
* Monitor branch information

### Environment Variables

* Set global variables across all environments
* Override specific variables per environment
