import type { EndE2edReason, ExitCode } from '../constants/internal'; import type { ApiStatistics } from './apiStatistics'; import type { FullPackConfig } from './config'; import type { UtcTimeInMs } from './date'; import type { StartInfo } from './startInfo'; import type { LiteTestRun } from './testRun'; import type { CustomPackPropertiesPlaceholder, CustomReportPropertiesPlaceholder, SkipTestsPlaceholder, TestMetaPlaceholder } from './userland'; /** * The lite report data (for printing lite JSON report) with userland meta. */ export type LiteReport = Readonly<{ afterPackExecutionTimeWithUnits: string; apiStatistics: ApiStatistics; customReportProperties: CustomReportProperties | undefined; endE2edReason: EndE2edReason; endTimeInMs: UtcTimeInMs; errors: readonly string[]; exitCode: ExitCode; failedTestsMainParams: readonly string[]; liteReportFileName: string; retries: readonly LiteRetry[]; startInfo: StartInfo>; summaryPackResults: string; warnings: readonly string[]; }>; /** * Lite retry object with all his lite test runs. */ export type LiteRetry = Readonly<{ brokenLiteTestRuns: readonly LiteTestRun[]; concurrency: number; endTimeInMs: UtcTimeInMs; /** * Test runs of all statuses except broken. */ liteTestRuns: readonly LiteTestRun[]; retryIndex: number; startTimeInMs: UtcTimeInMs; }>;