Skip to content

ReportAttempt

Namespace: E2E.Reports

public sealed record ReportAttempt : IEquatable<ReportAttempt>

One attempt of a test (upstream’s ReportAttempt).

Inheritance: object

Implements: IEquatable<ReportAttempt>

View source

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>

View source

public IReadOnlyList<ArtifactRecord> Artifacts { get; init; }

Value: IReadOnlyList<ArtifactRecord>

View source

public AttemptCleanup Cleanup { get; init; }

Value: AttemptCleanup

View source

public long DurationMs { get; init; }

Value: long

View source

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>

View source

public ReportError? Error { get; init; }

What stopped the attempt.

Value: ReportError

View source

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

View source

public string Id { get; init; }

A UUID version 7; also the head of its steps’ ids.

Value: string

View source

public int Index { get; init; }

Zero-based.

Value: int

View source

public IReadOnlyList<ReportError> SecondaryErrors { get; init; }

What else failed after the error: a teardown hook, the engine’s cleanup.

Value: IReadOnlyList<ReportError>

View source

public SkipInfo? Skip { get; init; }

Why the body skipped itself.

Value: SkipInfo

View source

public DateTimeOffset StartedAt { get; init; }

Value: DateTimeOffset

View source

public AttemptStatus Status { get; init; }

Value: AttemptStatus

View source

public IReadOnlyList<ReportStep> Steps { get; init; }

Value: IReadOnlyList<ReportStep>

View source