@testomatio/reporter
Version:
Testomatio Reporter Client
32 lines (31 loc) • 953 B
TypeScript
export class Replay {
constructor(options?: {});
apiKey: any;
dryRun: any;
onProgress: any;
onLog: any;
onError: any;
/**
* Get the default debug file path
* @returns {string} Path to the latest debug file
*/
getDefaultDebugFile(): string;
/**
* Parse a debug file and extract test data
* @param {string} debugFile - Path to the debug file
* @returns {Object} Parsed debug data
*/
parseDebugFile(debugFile: string): any;
/**
* Restore environment variables from debug data
* @param {Object} envVars - Environment variables to restore
*/
restoreEnvironmentVariables(envVars: any): void;
/**
* Replay test data to Testomat.io
* @param {string} debugFile - Path to debug file (optional, uses default if not provided)
* @returns {Promise<Object>} Replay results
*/
replay(debugFile: string): Promise<any>;
}
export default Replay;