cucumber-html-report-generator
Version:
Generate beautiful cucumberjs html reports for multiple instances (browsers / devices)
38 lines • 940 B
TypeScript
import type { BeforeOrAfterResults, ScenarioResults } from './results';
import type { ObjectID } from 'bson';
import type { Step } from './step';
export interface Tag {
name: string;
location?: {
line?: number;
column?: number;
};
}
export interface Scenario {
_id: any;
id: string;
featureId?: ObjectID;
keyword: string;
line?: number;
name: string;
description?: string;
steps?: Step[] | null;
before?: BeforeOrAfter;
after?: BeforeOrAfter;
tags: Tag[];
type: string;
results: ScenarioResults;
isFirstScenarioOutline: boolean;
examples?: string[][];
reportId?: ObjectID;
stepsId?: ObjectID;
}
export interface BeforeOrAfter {
results: BeforeOrAfterResults;
steps: Step[];
}
export interface TableHeader {
cells: string[];
}
export declare const beforeOrAfterInitializer: () => BeforeOrAfter;
//# sourceMappingURL=scenario.d.ts.map