Skip to content

TestRunSummary

Header summary: per-status counts, elapsed time, a stacked progress bar, and pass/fail/pending gauge cards. Pure — elapsed time comes from injected now.

Source

import { TestRunSummary } from "@flanksource/clicky-ui/data";
Completed · Open in Storybook
Running · Open in Storybook
Compact · Open in Storybook

The props table documents the component-specific surface. Standard DOM attributes inherited from React, such as className, event handlers, and accessibility attributes, may also be accepted when the component’s prop type extends a native element.

Prop Type Default Description
className string — —
compact boolean false Single-line layout for embedding in a host header (e.g. a dialog header): counts + a short inline progress bar on one row, instead of the default two-line right-aligned column.
done* boolean — —
endTime number | null — Run end, epoch ms; falls back to `now` while running.
now number — Injected clock (epoch ms) so the component stays pure.
runMeta RunMeta — —
startTime number | null — Run start, epoch ms (host-provided).
tests* Test[] — —