UNPKG

tdpw

Version:

CLI tool for uploading Playwright test reports to TestDino platform with TestDino storage support

41 lines 1.15 kB
/** * Playwright configuration and shard detection utilities */ /** * Shard information detected from Playwright configuration */ export interface ShardInfo { shardIndex: number; shardTotal: number; shardId: string; } /** * Playwright configuration parser for shard detection */ export declare class PlaywrightShardDetector { /** * Auto-detect shard information from Playwright configuration and environment */ static detectShardInfo(workingDir: string): Promise<ShardInfo | null>; /** * Detect shard info from environment variables */ private static detectFromEnvironment; /** * Detect shard info from Playwright configuration files */ private static detectFromPlaywrightConfig; /** * Detect shard info from JSON reports (look for metadata in reports) */ private static detectFromReports; /** * Validate shard information */ static validateShardInfo(shardInfo: ShardInfo): boolean; /** * Create default shard info (single shard) */ static createDefaultShardInfo(): ShardInfo; } //# sourceMappingURL=shard-detection.d.ts.map