UNPKG

@uuv/playwright

Version:

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

34 lines (33 loc) 1.17 kB
/** * Software Name : UUV * * SPDX-License-Identifier: MIT * * This software is distributed under the MIT License, * see the "LICENSE" file for more details * * Authors: NJAKO MOLOM Louis Fredice & SERVICAL Stanley * Software description: Make test writing fast, understandable by any human * understanding English or French. */ import { UUVCliOptions, UUVCliRunner } from "@uuv/runner-commons"; import cp from "child_process"; export declare class UUVCliPlaywrightRunner implements UUVCliRunner { projectDir: any; private tempDir; name: string; defaultBrowser: string; watchProcess?: cp.ChildProcess | null; constructor(projectDir: any, tempDir: any); getCurrentVersion(): string; prepare(options: Partial<UUVCliOptions>): Promise<void>; private setEnvironmentVariables; executeE2eCommand(options: Partial<UUVCliOptions>): void; executeOpenCommand(options: Partial<UUVCliOptions>): void; private getTargetTestFileForPlaywright; private runPlaywright; private buildCommand; private executeSystemCommand; private cleanup; } export declare function executePreprocessor(projectDir: string): boolean;