Playwright feature troubleshooting
Webserver doesn't start
Webserver doesn't start
Issue: Tests fail because the Alternatively, skip
webServer defined in playwright.config.ts doesn’t start.Solution:Include your server files in the Checkly configuration using checks.include:checkly.config.ts
webServer on Checkly and point to your deployed URL:playwright.config.ts
No tests found
No tests found
Issue: Deployed check runs no tests.Solution:Verify your configuration matches your Playwright setup:
- Check that
pwProjectsandpwTagsmatch your Playwright config exactly - Verify
playwrightConfigPathpoints to the correct file - Test locally with
npx checkly testto confirm which tests run
checkly.config.ts
Headed mode is not supported
Headed mode is not supported
Issue: Tests configured with
headless: false still run in headless mode.Checkly runs all tests in headless mode and ignores the headless: false option.Solution:Use the CHECKLY environment variable to enable headed mode for local development only:playwright.config.ts