Line

You are reading the unreleased docs (next). See latest (v0.9)

ui/client/features/tests/components/TestsBrowser

Cockpit client (features), next. Source: ui/client/features/tests/components/TestsBrowser.tsx.

Functions#

TestsBrowser()#

TestsBrowser(__namedParameters): Element

Defined in: ui/client/features/tests/components/TestsBrowser.tsx:16

Browser pane, Tests tab: the feature's tests in two groups, Generated (Locked) and Yours. Up/Down move between rows.

Props#

Prop Type Required Default Description
features `string[] null` Yes —
feature string Yes —
onFeature (feature: string) => void Yes —
data `TestsListing null` Yes —
selected `TestSelection null` Yes —
tagOf (y: YourTest) => string Yes —
onSelect (selection: TestSelection) => void Yes —

Returns#

Element