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.ts
orcheckly.config.js
configuration file - A
playwright.config.ts
orplaywright.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
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