ReportAttempt
Namespace: E2E.Reports
public sealed record ReportAttempt : IEquatable<ReportAttempt>One attempt of a test (upstream’s ReportAttempt).
Inheritance: object
Implements: IEquatable<ReportAttempt>
Properties
Section titled “Properties”AppLog
Section titled “AppLog”public IReadOnlyList<AppLogRecord>? AppLog { get; init; }What the app logged during the attempt, each line with the index of its step. Null when it logged nothing.
Value: IReadOnlyList<AppLogRecord>
Artifacts
Section titled “Artifacts”public IReadOnlyList<ArtifactRecord> Artifacts { get; init; }Value: IReadOnlyList<ArtifactRecord>
Cleanup
Section titled “Cleanup”public AttemptCleanup Cleanup { get; init; }Value: AttemptCleanup
DurationMs
Section titled “DurationMs”public long DurationMs { get; init; }Value: long
Environment
Section titled “Environment”public IReadOnlyDictionary<string, string>? Environment { get; init; }What the engine said the attempt ran on, such as browser or device. Null when it said nothing.
Value: IReadOnlyDictionary<string, string>
public ReportError? Error { get; init; }What stopped the attempt.
Value: ReportError
Failure
Section titled “Failure”public FailureEvidence? Failure { get; init; }What the runner saw when the failure landed. Null on a pass or when nothing could be captured.
Value: FailureEvidence
public string Id { get; init; }A UUID version 7; also the head of its steps’ ids.
Value: string
public int Index { get; init; }Zero-based.
Value: int
SecondaryErrors
Section titled “SecondaryErrors”public IReadOnlyList<ReportError> SecondaryErrors { get; init; }What else failed after the error: a teardown hook, the engine’s cleanup.
Value: IReadOnlyList<ReportError>
public SkipInfo? Skip { get; init; }Why the body skipped itself.
Value: SkipInfo
StartedAt
Section titled “StartedAt”public DateTimeOffset StartedAt { get; init; }Value: DateTimeOffset
Status
Section titled “Status”public AttemptStatus Status { get; init; }Value: AttemptStatus
public IReadOnlyList<ReportStep> Steps { get; init; }Value: IReadOnlyList<ReportStep>