UNPKG

omni-dashboard-playwright-reporter

Version:

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

44 lines (43 loc) 954 B
export interface Step { name: string; sequence_number: number; duration: number; status: 'failed' | 'passed'; error_message?: string; stack_trace?: string; } export interface Stdout { timestamp: string; level: 'INFO' | 'ERROR'; message: string; } export interface Screenshot { name: string; timestamp: string; } export interface Trace { name: string; } export interface Annotation { type: string; description: string; } export interface SingleTestCase { name: string; module?: string; status: 'failed' | 'passed' | 'skipped'; duration: number; priority?: string; tags: string[]; error_message?: string; error_stack_trace?: string; stdout: Stdout[]; screenshots: Screenshot[]; traces: Trace[]; test_steps: Step[]; annotations: Annotation[]; } export interface UploadTestCasesRequestBody { build_id: string; test_cases: SingleTestCase[]; }