omni-dashboard-playwright-reporter
Version:
Playwright client for publishing test results to Omni Dashboard - Transform Your Test Automation with AI-Powered Insights
27 lines (26 loc) • 623 B
TypeScript
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 TestCaseResponse {
id: string;
name: string;
tags: string[];
module: string;
status: 'passed' | 'failed' | 'skipped';
priority: 'P0' | 'P1' | 'P2' | 'P3';
annotations: Annotation[];
traces_s3_paths: S3Path[];
screenshots_s3_paths: S3Path[];
}
export interface UploadTestCaseResponse {
test_cases: TestCaseResponse[];
}