There are two ways to run your Stably-powered Playwright tests:Documentation Index
Fetch the complete documentation index at: https://docs.stably.ai/llms.txt
Use this file to discover all available pages before exploring further.
- Method 1: stably test (Recommended)
- Method 2: npx playwright test
The simplest approach — the Stably reporter is automatically configured.
Sets the suite name reported to the Stably dashboard and Slack notifications.When
Setup Requirements
Options
Stably is fully Playwright compatible. All Playwright CLI options are supported:--suiteName
Sets the suite name reported to the Stably dashboard and Slack notifications.--suiteName is not provided, the default name is automatically derived from the Playwright project names that are running (sorted alphabetically, joined with , ). For example, running --project=chromium --project=firefox produces a default suite name of chromium, firefox.You can also set the suite name via the STABLY_SUITE_NAME environment variable, or directly in your Playwright config with stablyReporter({ suiteName: "..." }).GitHub Actions Workflow
GitHub Actions Workflow
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:- Stably internals (
STABLY_API_KEY,STABLY_PROJECT_ID) process.env(system/shell environment)--env-file(local.envfiles)--env(remote environment from Stably)
.env file via Bulk Import.
Advanced Options
Debug Mode
Debug Mode
Run tests in debug mode with Playwright Inspector:
Parallel Execution
Parallel Execution
Control the number of parallel tests:
Retries
Retries
Configure test retries:
Headed Mode & UI Mode
Headed Mode & UI Mode
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