Repository Public
1// Main screens: route, root test id, and the API call that decides whether real data can be shown.2export interface ScreenDef {3 name: string;4 path: string;5 testid: string;6 /** GET path (under /api/v1) of the primary endpoint of the screen. */7 endpoint: string;8 shot?: string;9}1011export const SCREENS: ScreenDef[] = [12 { name: "overview", path: "/", testid: "screen-overview", endpoint: "/cluster/overview", shot: "01-overview" },13 { name: "nodes", path: "/nodes", testid: "screen-nodes", endpoint: "/nodes", shot: "02-nodes" },14 { name: "services", path: "/services", testid: "screen-services", endpoint: "/services", shot: "04-services" },15 { name: "models", path: "/models", testid: "screen-models", endpoint: "/models", shot: "05-models" },16 { name: "jobs", path: "/jobs", testid: "screen-jobs", endpoint: "/jobs", shot: "06-jobs" },17 { name: "network", path: "/network", testid: "screen-network", endpoint: "/network/topology", shot: "07-network" },18 { name: "storage", path: "/storage", testid: "screen-storage", endpoint: "/storage/volumes", shot: "08-storage" },19 { name: "alerts", path: "/alerts", testid: "screen-alerts", endpoint: "/alerts", shot: "09-alerts" },20 { name: "maintenance", path: "/maintenance", testid: "screen-maintenance", endpoint: "/maintenance/windows", shot: "10-maintenance" },21 { name: "activity", path: "/activity", testid: "screen-activity", endpoint: "/activity", shot: "11-activity" },22 { name: "audit", path: "/audit", testid: "screen-audit", endpoint: "/audit", shot: "12-audit" },23 { name: "settings", path: "/settings", testid: "screen-settings-profile", endpoint: "/me", shot: "13-settings" },24];25