UNPKG

html-reporter

Version:

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

14 lines (13 loc) 505 B
import type { Reporter, TestCase } from '@playwright/test/reporter'; import type { TestResultWithGuiStatus } from '../../test-result/playwright'; export type PwtEventMessage = { test: TestCase; result: TestResultWithGuiStatus; browserName: string; titlePath: string[]; }; export default class MyReporter implements Reporter { onTestBegin(test: TestCase, result: TestResultWithGuiStatus): void; onTestEnd(test: TestCase, result: TestResultWithGuiStatus): void; onEnd(): void; }