UNPKG

@uuv/cypress

Version:

A solution to facilitate the writing and execution of E2E tests understandable by any human being using cucumber(BDD) and cypress

22 lines (21 loc) 785 B
import { UUVCliOptions, UUVCliRunner } from "@uuv/runner-commons"; export declare class UUVCliCypressRunner implements UUVCliRunner { projectDir: any; name: string; defaultBrowser: string; private E2E_REPORT_DIR; private JSON_REPORT_DIR; private CYPRESS_JUNIT_REPORT; private CUCUMBER_MESSAGES_FILE; constructor(projectDir: any); getCurrentVersion(): string; prepare(options: Partial<UUVCliOptions>): void; executeE2eCommand(options: Partial<UUVCliOptions>): Promise<void>; executeOpenCommand(options: Partial<UUVCliOptions>): Promise<void>; private createReportDirectories; private terminateProcess; private mergeJunitReport; private generateHtmlReport; private generateHtmlReportFromJson; private getCypress; }