import { i32, Option } from "./_commons"; import { TextVisualErrorData } from "./TextVisualErrorData"; /** Visual Error Event */ export interface PageVisitEventVisualError { /** Text visual error data */ text?: Option; /** Represents performance measurements taken during the check execution */ performance?: Option; } /** Common performance metrics object */ export interface CommonPerformanceData { /** Average value */ avg: i32; /** Max value */ max: i32; /** Min value */ min: i32; } /** Detected Visual Error Performance */ export interface VisualErrorEventPerformanceData { /** * Count of observed mutation event * Renamed to iteration_count in Metroplex */ iterationCount?: Option; /** * Check executions count * Renamed to idle_timeout_count in Metroplex */ idleTimeoutCount?: Option; /** * Content accessing process performance metrics * Renamed to process_content in Metroplex */ processContent?: Option; /** * Assertion process performance metrics * Renamed to process_assertion in Metroplex */ processAssertion?: Option; /** * Estimated time for the visual error detection check to run (browser estimated time remaining in the current idle period) * Renamed to idle_time_remaining in Metroplex */ idleTimeRemaining?: Option; /** * Delay between DOM mutation and check run * Renamed to wait_idle in Metroplex */ waitIdle?: Option; }