Appearance
Reports
Write replay results to a file by adding an option to the replay command.
| Option | Format | Use it for |
|---|---|---|
--junit report.xml | JUnit XML | CI systems and test-management tools |
--html report.html | HTML page | People; failed steps include a screenshot |
--csv report.csv | CSV | Spreadsheets |
bash
node bin/replay.js recording.json --junit report.xml --html report.html --csv report.csvYou can combine them in one run.
What each report contains
- Overall result and total duration
- One row per step: action, intent, result, duration and error
- Environment details (browser, viewport, timezone)
- HTML only: an inline screenshot of the failing step