Line

ui/client/features/tests/domain/RunText

Pure (DOMAIN-001): the sentences of a run.

Cockpit client (features), v0.9. Source: ui/client/features/tests/domain/RunText.ts.

Functions#

liveText()#

liveText(snap, feature): string

Defined in: ui/client/features/tests/domain/RunText.ts:13

What the live run is doing, in words a live region can announce.

Parameters#

snap

RunSnapshot | null

feature

string

Returns#

string


problemView()#

problemView(p): object

Defined in: ui/client/features/tests/domain/RunText.ts:31

A run that produced no result: a heading that says what to do, and the server's own sentence.

Parameters#

p

RunProblem

Returns#

object

heading

heading: string

message

message: string


runSummary()#

runSummary(snap): string

Defined in: ui/client/features/tests/domain/RunText.ts:6

"5 passed · 1 failed · 2 not run · 12.3 s".

Parameters#

snap

RunSnapshot | null

Returns#

string