Reporter
Integrating Playwright tests with Fault0
Fault0 Playwright Reporter
The Fault0 Playwright Reporter is a custom reporter that integrates your existing Playwright tests with the Fault0 dashboard. It captures comprehensive test execution data and sends it to Fault0 for centralized tracking and analysis.
Installation
TBD: Package installation instructions
Configuration
TBD: Detailed configuration options
Add the reporter to your playwright.config.ts:
What Gets Reported
The Fault0 reporter automatically captures:
- Test Results: Pass/fail status for each test
- Execution Time: Duration of each test and overall run
- Screenshots: Automatic screenshots on test failures
- Videos: Video recordings of test executions (if enabled)
- Traces: Detailed Playwright traces for debugging
- Errors: Stack traces and error messages
- Console Logs: Browser console output during test execution
Environment Variables
TBD: Required environment variables
Set your Fault0 API key as an environment variable:
Running Tests
Once configured, simply run your Playwright tests as usual:
Results will automatically appear in your Fault0 dashboard.