UNPKG

omni-dashboard-playwright-reporter

Version:

Playwright client for publishing test results to Omni Dashboard - Transform Your Test Automation with AI-Powered Insights

23 lines (22 loc) 807 B
import type { Reporter, FullConfig, Suite, TestCase, TestResult, FullResult } from '@playwright/test/reporter'; declare class OmniPlaywrightReporter implements Reporter { private queue; private enqueue; private buildId; private omniConfig; private client; private _buildCreationFailedLogged; private pendingUploads; private workerId; private buildLockFile; private buildIdFile; onBegin(config: FullConfig, suite: Suite): Promise<void>; onTestBegin(test: TestCase): Promise<void>; onTestEnd(test: TestCase, result: TestResult): Promise<void>; onEnd(result: FullResult): Promise<void>; private acquireLockAndCreateBuild; private loadBuildIdFromFile; private onBeginHandler; private onEndHandler; } export default OmniPlaywrightReporter;