The Playwright Reporter is currently in public beta. Contact the Checkly team for support or feedback. Expect breaking changes, features in development, and possible bugs.
Use the Playwright Reporter to seamlessly integrate Playwright test results with Checkly monitoring. Automatically upload test results, screenshots, videos, and traces to gain visibility into your application’s health across test runs.
Ensure that you also enabled the native json reporter with the described outputFile before registering the Checkly Playwright Reporter. The Checkly Playwright Reporter relies on the JSON reporter output to analyze and upload the test results. The best terminal output uses all 3: list, json and checkly/playwright-reporter.
import { defineConfig } from "@playwright/test";export default defineConfig({ reporter: [ ["list"], ["json", { outputFile: "test-results/playwright-test-report.json" }], ["@checkly/playwright-reporter", { // Assign your API key with a different environment variable apiKey: process.env.YOUR_CUSTOM_CHECKLY_API_KEY, // Assign your account id with a different environment variable accountId: process.env.YOUR_CUSTOM_CHECKLY_ACCOUNT_ID, // Skip API calls, only create local ZIP dryRun: false, // Custom ZIP output path outputPath: "checkly-report.zip", // Custom JSON report path jsonReportPath: "test-results/report.json", // Custom test results directory testResultsDir: "test-results" }], ],});
Option
Type
Default
Description
dryRun
boolean
false
Skip all API calls and only create local ZIP file
apiKey
string
-
Checkly API key
accountId
string
-
Checkly account ID
outputPath
string
checkly-report.zip
Path for the generated ZIP file
jsonReportPath
string
test-results/playwright-test-report.json
Path to JSON report
testResultsDir
string
test-results
Directory containing test results*
Security Note: Always use environment variables to configure the Playwright reporter. Never commit API keys to version control.
The Checkly Playwright reporter creates Playwright Check Suite level test sessions. The test session result will include all run tests in a single report named after your project directory:
Copy
Ask AI
Directory: /Users/anna/my-appSession: Playwright Test Session: my-app
All the created test results and artifacts are bundled together in a single session for easy analysis.What gets uploaded:
Test results and status (passed/failed/flaky)
Test execution duration
Screenshots (on failure or explicit capture)
Snapshots
Videos (full recordings)
Traces (Playwright traces for debugging)
Complete JSON test report
If your Checkly reports don’t include traces or videos, ensure that your playwright.config.ts enables these Playwright features. The reporter only uploads what your Playwright test run created.
Use dryRun mode to create ZIP files without uploading your test results to Checkly:
playwright.config.ts
Copy
Ask AI
import { defineConfig } from "@playwright/test";export default defineConfig({ reporter: [ ["json", { outputFile: "test-results/playwright-test-report.json" }], ["@checkly/playwright-reporter", { dryRun: true // Skip the upload and only create a local ZIP file }] ],});