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

16 lines (15 loc) 852 B
import { FullConfig, FullResult, Reporter, Suite, TestCase, TestError, TestResult, TestStep } from "@playwright/test/reporter"; declare class UuvPlawrightReporter implements Reporter { private helper; constructor(); onStdOut(chunk: string | Buffer, test: void | TestCase, result: void | TestResult): void; onStdErr(chunk: string | Buffer, test: void | TestCase, result: void | TestResult): void; onBegin(config: FullConfig, suite: Suite): void; onError?(error: TestError): void; onTestBegin(test: TestCase, result: TestResult): void; onStepBegin(test: TestCase, result: TestResult, step: TestStep): void; onStepEnd(test: TestCase, result: TestResult, step: TestStep): void; onTestEnd(test: TestCase, result: TestResult): void; onEnd(result: FullResult): Promise<void>; } export default UuvPlawrightReporter;