checkly sync-playwright command synchronizes your Playwright configuration (playwright.config) with your Checkly project configuration (checkly.config).
Keeping your configuration in sync ensures consistency between local testing and cloud monitoring environments.
The applied
playwrightConfig configuration is applied to all Browser and MultiStep Checks defined in your Checkly project.Prerequisites
Prerequisites
Before using
checkly sync-playwright, ensure you have:- An initialized Checkly CLI project
- A
checkly.config.tsorcheckly.config.jsconfiguration file - A
playwright.config.tsorplaywright.config.js
Usage
Copy supported Playwright configuration settings to your Checkly config automatically.Terminal
Supported Playwright Configuration
Thesync-playwright command parses your existing playwright.config file and extracts global, use and expect settings.
playwright.config.ts
- Global Options
- Use Options
- Expect Options
| Option | Supported |
|---|---|
timeout | ✅ |
use | ✅ |
expect | ✅ |
testDir | ❌ |
fullyParallel | ❌ |
forbidOnly | ❌ |
retries | ❌ |
workers | ❌ |
reporter | ❌ |
testMatch | ❌ |
testIgnore | ❌ |
outputDir | ❌ |
globalSetup | ❌ |
globalTeardown | ❌ |
projects | ❌ |
webServer | ❌ |
Related Commands
checkly test- Test with synchronized configurationcheckly deploy- Deploy with updated settings