From 70f5fe8c97b9e961a158822f60f750e6ab7aa69a Mon Sep 17 00:00:00 2001
From: Oliver <oliver.henry.walters@gmail.com>
Date: Tue, 19 Nov 2024 23:08:21 +1100
Subject: [PATCH] Update react-frontend.md (#8520)

Add info on how to debug missing tests in playwright
---
 docs/docs/develop/react-frontend.md | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/docs/docs/develop/react-frontend.md b/docs/docs/develop/react-frontend.md
index 72067b7a81..5ca954445d 100644
--- a/docs/docs/develop/react-frontend.md
+++ b/docs/docs/develop/react-frontend.md
@@ -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.