sealights-playwright-plugin
Version:
Playwright plugin for Sealights integration.
26 lines (25 loc) • 1 kB
TypeScript
import { ITestRunnerArgs } from 'slnodejs';
export declare class SealightsConfig {
private static instance;
private isInitialized;
private buildSessionId;
private token;
private testStage;
private labId;
private proxy;
private collectorUrl;
private tiaDisabled;
private targetTestProjectId;
private testProjectId;
private constructor();
static getInstance(): SealightsConfig;
init(): void;
getConfigurationObject(): ITestRunnerArgs;
setBuildSessionId(buildSessionId: string): void;
private verifyBuildSessionIdOrLabIdProvided;
private resolveEnvironmentConfig;
private printDebugConfig;
static getEnvVar(key: string, optional?: boolean): string | boolean | null;
}
export declare function EnsureInitialized(target: any, propertyKey: string, descriptor: PropertyDescriptor): PropertyDescriptor;
export declare function PrintDebugConfig(target: any, propertyKey: string, descriptor: PropertyDescriptor): PropertyDescriptor;