Spaces:
Running
Running
RemiFabre commited on
Commit ·
580d9f5
1
Parent(s): 8e1482d
Fix TESTING.md: clarify web coverage is on HF Space, not localhost
Browse filesThe Test Coverage section lives in the Space's index.html, not the
app's web GUI. Also note that WebKit is Safari's browser engine.
- TESTING.md +7 -6
- marionette/static/test_coverage.json +46 -2
TESTING.md
CHANGED
|
@@ -35,8 +35,8 @@ pip install pytest-playwright
|
|
| 35 |
playwright install --with-deps chromium firefox
|
| 36 |
```
|
| 37 |
|
| 38 |
-
WebKit is available on some platforms
|
| 39 |
-
not required.
|
| 40 |
|
| 41 |
## Running individual suites
|
| 42 |
|
|
@@ -152,10 +152,11 @@ hardware test results are available.
|
|
| 152 |
|
| 153 |
## Web coverage
|
| 154 |
|
| 155 |
-
|
| 156 |
-
|
| 157 |
-
`marionette/static/test_coverage.json` (exported by `run_tests.py`)
|
| 158 |
-
and shows the matrix, test catalog, and summary.
|
|
|
|
| 159 |
|
| 160 |
## Markers
|
| 161 |
|
|
|
|
| 35 |
playwright install --with-deps chromium firefox
|
| 36 |
```
|
| 37 |
|
| 38 |
+
WebKit (Safari's browser engine) is available on some platforms
|
| 39 |
+
(`playwright install webkit`) but is not required.
|
| 40 |
|
| 41 |
## Running individual suites
|
| 42 |
|
|
|
|
| 152 |
|
| 153 |
## Web coverage
|
| 154 |
|
| 155 |
+
The **Test Coverage** section on the
|
| 156 |
+
[HuggingFace Space page](https://huggingface.co/spaces/RemiFabre/marionette)
|
| 157 |
+
loads `marionette/static/test_coverage.json` (exported by `run_tests.py`)
|
| 158 |
+
and shows the matrix, test catalog, and summary. It is part of the Space's
|
| 159 |
+
`index.html`, not the app's web GUI at `localhost:8042`.
|
| 160 |
|
| 161 |
## Markers
|
| 162 |
|
marionette/static/test_coverage.json
CHANGED
|
@@ -1,6 +1,50 @@
|
|
| 1 |
{
|
| 2 |
-
"generated_at": "2026-02-
|
| 3 |
"matrix": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
{
|
| 5 |
"os": "Linux",
|
| 6 |
"robot": "None",
|
|
@@ -201,7 +245,7 @@
|
|
| 201 |
},
|
| 202 |
{
|
| 203 |
"class": "TestStopEndpoints",
|
| 204 |
-
"count":
|
| 205 |
"tier": "unit",
|
| 206 |
"description": "POST /api/play/stop and /api/record/stop"
|
| 207 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"generated_at": "2026-02-21T08:22:51.991423+00:00",
|
| 3 |
"matrix": [
|
| 4 |
+
{
|
| 5 |
+
"os": "Linux",
|
| 6 |
+
"robot": "Lite",
|
| 7 |
+
"suite": "e2e",
|
| 8 |
+
"browser": "chromium",
|
| 9 |
+
"status": "pass",
|
| 10 |
+
"passed": 18,
|
| 11 |
+
"failed": 0,
|
| 12 |
+
"total": 18,
|
| 13 |
+
"date": "Feb 21"
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"os": "Linux",
|
| 17 |
+
"robot": "Lite",
|
| 18 |
+
"suite": "e2e",
|
| 19 |
+
"browser": "firefox",
|
| 20 |
+
"status": "pass",
|
| 21 |
+
"passed": 18,
|
| 22 |
+
"failed": 0,
|
| 23 |
+
"total": 18,
|
| 24 |
+
"date": "Feb 21"
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"os": "Linux",
|
| 28 |
+
"robot": "Lite",
|
| 29 |
+
"suite": "e2e",
|
| 30 |
+
"browser": "webkit",
|
| 31 |
+
"status": "pass",
|
| 32 |
+
"passed": 18,
|
| 33 |
+
"failed": 0,
|
| 34 |
+
"total": 18,
|
| 35 |
+
"date": "Feb 21"
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"os": "Linux",
|
| 39 |
+
"robot": "Lite",
|
| 40 |
+
"suite": "unit",
|
| 41 |
+
"browser": null,
|
| 42 |
+
"status": "pass",
|
| 43 |
+
"passed": 66,
|
| 44 |
+
"failed": 0,
|
| 45 |
+
"total": 66,
|
| 46 |
+
"date": "Feb 21"
|
| 47 |
+
},
|
| 48 |
{
|
| 49 |
"os": "Linux",
|
| 50 |
"robot": "None",
|
|
|
|
| 245 |
},
|
| 246 |
{
|
| 247 |
"class": "TestStopEndpoints",
|
| 248 |
+
"count": 3,
|
| 249 |
"tier": "unit",
|
| 250 |
"description": "POST /api/play/stop and /api/record/stop"
|
| 251 |
}
|