Skip to content

Commit

Permalink
Update react-frontend.md (#8520)
Browse files Browse the repository at this point in the history
Add info on how to debug missing tests in playwright
  • Loading branch information
SchrodingersGat authored Nov 19, 2024
1 parent e4a3969 commit 70f5fe8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/docs/develop/react-frontend.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,15 @@ To view the report, you can use the following command, after downloading the rep
```bash
npx playwright show-report path/to/report
```

### No Tests Found

If there is any problem in the testing launch sequence, the playwright UI will display the message "No Tests". In this case, an error has occured, likely launching the InvenTree server process (which runs in the background).

To debug this situation, and determine what error needs to be resolved, run the following command:

```bash
npx playwright test --debug
```

This will print out any errors to the console, allowing you to resolve issues before continuing. In all likelihood, your InvenTree installation needs to be updated, and simply running `invoke update` will allow you to continue.

0 comments on commit 70f5fe8

Please sign in to comment.