Test result files
Every run — pass or fail — leaves several kinds of output behind. This page is a map of where to find them; see Results analysis for detail.
Markdown report
TestProjects/<project>/reports/scenario-*.md — one report per scenario run, written
regardless of outcome. It has the same hierarchy as the code:
scene → condition/action/expectation → step, plus the failure message and element list at the
point of failure, a screenshot of the point of failure (if any), and fix suggestions for a broken
selector when self-healing ran. On iOS (inapp-boost and xcuitest modes) the failure screenshot
captures the whole screen, so an OS alert such as a permission request shows up in it even though
it is not in the app's element list.
Result JSON
results/runs/<YYYY-MM>/<runID>/ holds the machine-readable record: run.json for the
whole run and scenarios/<scenarioID>.json per scenario. This is the source used for CI
gating, dashboards, and scripted triage. How to read the fields is in
Results analysis.
On iOS it also records which mode ran (inapp-boost / xcuitest): mode per scenario and
workerModes in run.json per device. On the console the mode follows each scenario's header, and the
🔧 Modes: line at the end of the run lists it per device. A device that could not run in the mode asked
for is called out as ⚠️ … ran in xcuitest mode instead of inapp-boost mode — <reason>.
The run directory (results/runs/<YYYY-MM>/<runID>/) also holds, directly under it:
events/<scenarioID>.ndjson— the execution log of each scenariohost-metrics.ndjson— the host load recorded during the runsuperseded/— records set aside when a scenario was run againservices/<service>.log— the services' logs, for a run with compose.yaml whenrun-setup.shor the run failed
scenario-<timestamp>-….failure.json and a .png are also placed in the same folder as the Markdown report.
JUnit XML
fleetest run --junit <path> additionally writes a JUnit XML file, for CI systems that
consume that format directly.
Video recordings
When the run profile's record is true (the default), fleetest records each device for the whole run and slices
out one clip per scenario into <runDir>/recordings/. A failing run doesn't lose the video
— recording failures don't fail the run itself. Set record: false to turn recording off.
Locator fingerprints
When self-healing is on, TestProjects/<project>/.fleetest/locator-fingerprints.json stores the
type/label (and placeholder, for input fields) each selector last resolved to directly, so a
later run can match a renamed selector by fingerprint even though the source still has the old
one. See Self-healing.
Last-run results (for --failed)
.fleetest/last-results/<project>/<profile>/ in the folder that holds TestProjects/ (the root of the test package; not the project's own .fleetest/) records which scenarios passed or failed on the
most recent run for that run profile, so fleetest run --failed can re-run just the
failures. Records are kept separately per run profile (and in their own bucket for a
profile-less run), so a green run of one profile never hides a red run of another.
From the VSCode extension
The extension's Test Explorer shows pass/fail per test and can open the generated Markdown report directly ("Open Report").