Something went wrong. Try again.
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "aite run.json", "description": "results/<run-id>/run.json (docs/design/data-formats.md). The diagnosis of a failed command is an object whose own shape is described in failure-diagnosis.md and is not checked field by field here.", "type": "object", "required": [ "version", "runId", "startedAt", "finishedAt", "durationMs", "chrome", "extension", "profile", "target", "tests", "summary" ], "additionalProperties": false, "properties": { "version": { "const": 1 }, "runId": { "type": "string" }, "startedAt": { "type": "string" }, "finishedAt": { "type": "string" }, "durationMs": { "type": "number" }, "chrome": { "type": "string" }, "extension": { "type": "string" }, "profile": { "type": "string" }, "target": { "type": [ "string", "null" ] }, "tests": { "type": "array", "items": { "type": "object", "required": [ "name", "file", "covers", "status", "retries", "warnings", "steps" ], "additionalProperties": false, "properties": { "name": { "type": "string" }, "file": { "type": "string" }, "covers": { "type": "array", "items": { "type": "string" } }, "status": { "enum": [ "passed", "failed" ] }, "retries": { "type": "number" }, "warnings": { "type": "array", "items": { "type": "object", "required": [ "code", "message" ], "additionalProperties": false, "properties": { "code": { "type": "string" }, "message": { "type": "string" }, "line": { "type": "number" }, "file": { "type": "string" } } } }, "steps": { "type": "array", "items": { "type": "object", "required": [ "index", "name", "line", "status", "retries", "durationMs", "warnings", "commands" ], "additionalProperties": false, "properties": { "index": { "type": "number" }, "name": { "type": "string" }, "line": { "type": "number" }, "status": { "enum": [ "passed", "passed-after-retry", "repaired", "failed", "skipped" ] }, "retries": { "type": "number" }, "durationMs": { "type": "number" }, "warnings": { "type": "array", "items": { "type": "object", "required": [ "code", "message" ], "additionalProperties": false, "properties": { "code": { "type": "string" }, "message": { "type": "string" }, "line": { "type": "number" }, "file": { "type": "string" } } } }, "commands": { "type": "array", "items": { "type": "object", "required": [ "line", "command", "source", "status", "retries", "durationMs", "warnings" ], "additionalProperties": false, "properties": { "line": { "type": "number" }, "file": { "type": "string" }, "command": { "type": "string" }, "source": { "type": "string" }, "status": { "enum": [ "passed", "passed-after-retry", "repaired", "failed", "skipped" ] }, "retries": { "type": "number" }, "durationMs": { "type": "number" }, "warnings": { "type": "array", "items": { "type": "object", "required": [ "code", "message" ], "additionalProperties": false, "properties": { "code": { "type": "string" }, "message": { "type": "string" }, "line": { "type": "number" }, "file": { "type": "string" } } } }, "reason": { "type": "string" }, "expected": {}, "found": {}, "diagnosis": { "type": "object" }, "repairs": { "type": "array", "items": { "type": "object", "required": [ "via", "source", "score", "runnerUp", "changed", "changes", "old", "now" ], "additionalProperties": false, "properties": { "via": { "enum": [ "repair", "descriptor" ] }, "source": { "type": "string" }, "score": { "type": "number" }, "runnerUp": { "type": "number" }, "changed": { "type": "array", "items": { "type": "string" } }, "changes": { "type": "array", "items": { "type": "string" } }, "old": { "type": "object" }, "now": { "type": "object" } } } }, "candidates": {}, "saw": { "type": "array", "items": { "type": "string" } }, "profile": { "type": "string" } } } }, "screenshot": { "type": "string" } } } }, "profiles": { "type": "array", "items": { "type": "string" } } } } }, "summary": { "type": "object", "required": [ "passed", "failed", "repaired", "warnings", "retries" ], "additionalProperties": false, "properties": { "passed": { "type": "number" }, "failed": { "type": "number" }, "repaired": { "type": "number" }, "warnings": { "type": "number" }, "retries": { "type": "number" } } }, "lock": { "type": "object", "required": [ "path", "status", "captured", "reused", "ignored", "repaired" ], "additionalProperties": false, "properties": { "path": { "type": "string" }, "status": { "enum": [ "created", "updated", "unchanged", "none", "unreadable", "write-failed" ] }, "captured": { "type": "number" }, "reused": { "type": "number" }, "ignored": { "type": "number" }, "repaired": { "type": "number" }, "message": { "type": "string" } } }, "environment": { "type": "object", "required": [ "chromeChanged" ], "additionalProperties": false, "properties": { "chromeChanged": { "type": "object", "required": [ "from", "to" ], "additionalProperties": false, "properties": { "from": { "type": "string" }, "to": { "type": "string" } } } } }, "stopped": { "type": "object", "required": [ "reason", "budgetMs" ], "additionalProperties": false, "properties": { "reason": { "enum": [ "budget" ] }, "budgetMs": { "type": "number" } } } }}