diff --git a/docs/docs/develop/react-frontend.md b/docs/docs/develop/react-frontend.md index ab841e9008..72067b7a81 100644 --- a/docs/docs/develop/react-frontend.md +++ b/docs/docs/develop/react-frontend.md @@ -112,3 +112,13 @@ npx playwright test --ui ``` This will first launch the backend server (at `http://localhost:8000`), and then run the tests against the frontend server (at `http://localhost:5173`). An interactive browser window will open, and you can run the tests individually or as a group. + +### Viewing Reports + +The playwright tests are run automatically as part of the project's CI pipeline, and the results are stored as a downloadable report. The report file can be "replayed" using playwright, to view the results of the test run, as well as closely inspect any failed tests. + +To view the report, you can use the following command, after downloading the report and extracting from the zipped file: + +```bash +npx playwright show-report path/to/report +```