UNPKG

omni-dashboard-playwright-reporter

Version:

Playwright client for publishing test results to Omni Dashboard - Transform Your Test Automation with AI-Powered Insights

48 lines (47 loc) 1.04 kB
export interface Annotation { type: string; description: string; } export interface S3Path { name: string; path: string; local_path: string; upload_url: string; metadata?: Record<string, any>; timestamp?: string; } export interface Stdout { timestamp: string; level: 'INFO' | 'ERROR'; message: string; } export interface Step { } export interface TestCaseResponse { id: string; build_id: string; name: string; module: string; status: 'passed' | 'failed' | 'skipped'; duration: number; priority: string; tags: string[]; stdout: Stdout[]; error_message?: string; error_stack_trace?: string; created_at: string; updated_at: string; project_id: string; tcm_id?: string | null; annotations: Annotation[]; traces_s3_paths: S3Path[]; screenshots_s3_paths: S3Path[]; steps: Step[]; } export interface UploadTestCaseResponse { success: boolean; data: { test_cases: TestCaseResponse[]; }; timestamp: string; }