Skip to main content
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

1

Navigate to Environments

Go to the Environments page
2

Create environment

Click on ‘Create New Environment’
3

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

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