@alphabin/trx
Version:
TRX reporter for Playwright tests with Azure Blob Storage upload support
22 lines (21 loc) • 489 B
TypeScript
import { PlaywrightReport } from '../types';
export interface ApiOptions {
serverUrl: string;
apiKey: string;
timeout?: number;
retries?: number;
}
/**
* API client for communicating with TRX server
*/
export declare class ApiClient {
private serverUrl;
private apiKey;
private timeout;
private retries;
constructor(options: ApiOptions);
/**
* Sends test report to TRX server
*/
sendReport(report: PlaywrightReport): Promise<any>;
}