UNPKG

html-reporter

Version:

Html-reporter and GUI for viewing and managing results of a tests run. Currently supports Testplane and Hermione.

34 lines (33 loc) 1.21 kB
import { TestStatus } from '../../constants'; import { TestError, ErrorDetails, ImageInfoFull, ImageBase64, ImageFile, TestStepCompressed, Attachment } from '../../types'; import { ReporterTestResult } from './index'; export declare class ReporterTestAdapter implements ReporterTestResult { private _testResult; private _errorDetails; constructor(testResult: ReporterTestResult); get attempt(): number; get browserId(): string; get description(): string | undefined; get error(): TestError | undefined; get errorDetails(): ErrorDetails | null; get file(): string; get fullName(): string; get history(): TestStepCompressed[]; get id(): string; get imageDir(): string; get imagesInfo(): ImageInfoFull[]; get meta(): Record<string, unknown>; get multipleTabs(): boolean; get screenshot(): ImageBase64 | ImageFile | null | undefined; get sessionId(): string; get skipReason(): string | undefined; get state(): { name: string; }; get status(): TestStatus; get testPath(): string[]; get timestamp(): number; get url(): string | undefined; get duration(): number; get attachments(): Attachment[]; }