UNPKG

sealights-playwright-plugin

Version:

Playwright plugin for Sealights integration.

25 lines (24 loc) 937 B
import { TestInfo } from '@playwright/test'; export declare class SealightsTestSessionService { private static instance; private remoteAgent; private configurationError; private SLConfig; private excludedTests; private baseUrl; private constructor(); init(): Promise<void>; static getInstance(): SealightsTestSessionService; shouldSkipTest(testInfo: TestInfo): boolean; getTestSessionId(): string; createTestSession(): Promise<void>; endTestSession(): Promise<void>; getTestRecommendations(): Promise<Record<string, boolean>>; sendTestEvent(testInfo: TestInfo): Promise<void>; sendCoverage(testName: string, componentCoverageData: { buildSessionId: string; coverage: any; }[]): Promise<void>; static runServiceMethodSafe(_: unknown, propertyKey: string, descriptor: PropertyDescriptor): PropertyDescriptor; private static InitSealightsConfig; }