Appearance
Documentation / test-reporting / BuildTest
Interface: BuildTest
Defined in: test-reporting/src/linked-sessions.ts:14
A TEST or HOOK from a TRA build, with the pieces needed to reach its Automate session.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
attempts | number | - | test-reporting/src/linked-sessions.ts:26 |
durationMs | number | undefined | TRA durations are milliseconds. | test-reporting/src/linked-sessions.ts:22 |
failure | string[] | Error message and stack trace lines of the last failed attempt. | test-reporting/src/linked-sessions.ts:28 |
file | string | undefined | - | test-reporting/src/linked-sessions.ts:31 |
key | string | Stable identity across builds: the display names from ROOT down, joined with " › ". | test-reporting/src/linked-sessions.ts:16 |
kind | "TEST" | "HOOK" | - | test-reporting/src/linked-sessions.ts:19 |
logFiles | string[] | Presigned URLs of log files uploaded for the attempts (TRA TEST_LOG). | test-reporting/src/linked-sessions.ts:30 |
name | string | - | test-reporting/src/linked-sessions.ts:18 |
node | object | - | test-reporting/src/linked-sessions.ts:34 |
node.children? | { type?: "ROOT" | "DESCRIBE" | "TEST" | "HOOK" | undefined; displayName?: string | undefined; rank?: number | undefined; summary?: { passed?: number | undefined; failed?: number | undefined; ... 8 more ...; aggregate?: number | undefined; } | null | undefined; details?: { ...; } | ... 1 more ... | undefined; childre...[] | - | openapi/generated/test-reporting.ts:877 |
node.details? | { browser?: { key?: string; name?: string; version?: string; }; device?: string | null; duration?: number; filePath?: string; finishedAt?: string | null; isAlwaysFailing?: boolean; isAutoAnalyzed?: boolean | null; isAutoAnalyzerRunning?: boolean; isFlaky?: boolean; isLatest?: boolean; isMuted?: boolean; isNewFailure?: boolean; isPerformanceAnomaly?: boolean; isRealDevice?: boolean; lastExecutedBy?: string; lastExecutedById?: number; middleScopes?: {[key: string]: unknown; } | null; observabilityUrl?: string; os?: { key?: string; name?: string; version?: string; }; pmToolDetails?: object[]; retries?: object[]; runCount?: number; sessionId?: string | null; startedAt?: string; status?: string; tags?: string[]; testCases?: object[]; vcFileUrl?: string; } | null | - | openapi/generated/test-reporting.ts:876 |
node.displayName? | string | Name to show; nodes have no separate name field. | openapi/generated/test-reporting.ts:873 |
node.isAfterAllHook? | boolean | null | - | openapi/generated/test-reporting.ts:879 |
node.isBeforeAllHook? | boolean | null | - | openapi/generated/test-reporting.ts:878 |
node.rank? | number | - | openapi/generated/test-reporting.ts:874 |
node.summary? | { aggregate?: number; blocked?: number; failed?: number; in progress?: number; passed?: number; pending?: number; retest?: number; skipped?: number; timeout?: number; unknown?: number; untested?: number; } | null | - | openapi/generated/test-reporting.ts:875 |
node.type? | "ROOT" | "DESCRIBE" | "TEST" | "HOOK" | Observed values: ROOT, DESCRIBE, TEST. HOOK is documented. | openapi/generated/test-reporting.ts:871 |
observabilityUrl | string | undefined | - | test-reporting/src/linked-sessions.ts:33 |
path | string[] | - | test-reporting/src/linked-sessions.ts:17 |
platform | object | - | test-reporting/src/linked-sessions.ts:32 |
platform.browser? | string | - | test-reporting/src/linked-sessions.ts:32 |
platform.device? | string | - | test-reporting/src/linked-sessions.ts:32 |
platform.os? | string | - | test-reporting/src/linked-sessions.ts:32 |
sessionId | string | undefined | Automate session hashed_id. Shared by every test that ran in the same session (per file/worker). | test-reporting/src/linked-sessions.ts:25 |
startedAt | string | undefined | - | test-reporting/src/linked-sessions.ts:23 |
status | string | undefined | - | test-reporting/src/linked-sessions.ts:20 |