ui/client/features/tests/components/RunFailure
Cockpit client (features), v0.9. Source: ui/client/features/tests/components/RunFailure.tsx.
Functions#
RunFailure()#
RunFailure(
__namedParameters):Element|null
Defined in: ui/client/features/tests/components/RunFailure.tsx:17
One failed test, explained. The two kinds are told apart in words (never colour alone): a CONVENTION failure is the test harness's problem, in the generator's own sentence, and is not offered as a bug report; an APP failure says what was expected and what the flow reached, and is. Everything shown is selectable text, so it can be pasted into a note.
Props#
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
outcome |
RunOutcome |
Yes | — | |
copied |
`string | null` | Yes | — |
onCopy |
(key: string, text: string) => Promise<boolean> |
Yes | — | |
prefix |
string |
No | '' |
Prefix of the test ids, so the same card can appear in the stage and in the Tools pane without clashing. |
Returns#
Element | null