import type { ReportActionDump, TestRunReportDump } from '@midscene/core'; // Core visualization types export interface PlaywrightTaskAttributes { playwright_test_description: string; playwright_test_id: string; playwright_test_title: string; playwright_test_status: | 'passed' | 'failed' | 'timedOut' | 'skipped' | 'interrupted'; playwright_test_duration: number; is_merged?: boolean; } export interface PlaywrightTasks { get: () => ReportActionDump; attributes: PlaywrightTaskAttributes; reportId?: string; runnerScopeId?: string; } export type ReportViewMode = 'human' | 'markdown'; export interface VisualizerProps { logoAction?: () => void; dumps?: PlaywrightTasks[]; embedded?: boolean; } export interface TestRunnerReportProps { dump: TestRunReportDump; reports: PlaywrightTasks[]; }