Skip to main content
There are two ways to run your Stably-powered Playwright tests:

Running Specific Test Groups

If you’ve organized your tests using Playwright projects, you can run specific groups:

Environment Variables

There are several ways to pass environment variables to your tests:
When using multiple sources, variables are resolved in this order (highest priority wins):
  1. Stably internals (STABLY_API_KEY, STABLY_PROJECT_ID)
  2. process.env (system/shell environment)
  3. --env-file (local .env files)
  4. --env (remote environment from Stably)
See Environments for managing named environments on the dashboard — you can get started quickly by uploading a .env file via Bulk Import.

Advanced Options

Run tests in debug mode with Playwright Inspector:
Control the number of parallel tests:
Configure test retries:
Run with a visible browser or Playwright’s interactive UI:

Next Steps

Auto-fix Failures

Automatically diagnose and repair failing tests

Defining Test Groups

Organize tests using Playwright projects

Test Reporter

Stream results and traces to the Stably dashboard

CI/CD Integration

Integrate tests into your deployment pipeline