export type SmokeTestStatus = 'PASS' | 'FAIL' | 'SKIP';

export type SmokeTestCaseMeta = {
  id: string;
  suite: string;
  name: string;
  description?: string;
  uatRef?: string;
};

export type SmokeTestCaseResult = SmokeTestCaseMeta & {
  status: SmokeTestStatus;
  durationMs: number;
  stepCount?: number;
  message?: string;
  error?: string;
  details?: string[];
};

export type SmokeTestRunSummary = {
  runId: string;
  startedAt: string;
  finishedAt: string;
  durationMs: number;
  total: number;
  passed: number;
  failed: number;
  skipped: number;
  suites: string[];
  results: SmokeTestCaseResult[];
};

export type SmokeTestSuiteInfo = {
  id: string;
  name: string;
  description: string;
  caseCount: number;
};
