Line

You are reading docs for v0.8. See latest (v0.9)

ui/client/features/tests/domain/RunView

Pure (DOMAIN-001): what the run panel, a test's detail and the coverage table draw from a run snapshot, as plain text and flags, so the components stay presentation-only.

Cockpit client (features), v0.8. Source: ui/client/features/tests/domain/RunView.ts.

Functions#

resultCell()#

resultCell(snap, area, file): ResultMark

Defined in: ui/client/features/tests/domain/RunView.ts:12

The result of one generated test's file, for the coverage table's "Last result" column.

Parameters#

snap

RunSnapshot | null

area

TestArea

file

string

Returns#

ResultMark


runPanelView()#

runPanelView(snap, feature): RunPanelView

Defined in: ui/client/features/tests/domain/RunView.ts:15

The run panel: live status, a problem, the last run's summary, each test's row and the failures to explain.

Parameters#

snap

RunSnapshot | null

feature

string

Returns#

RunPanelView


testRunView()#

testRunView(snap, area, file): TestRunView | null

Defined in: ui/client/features/tests/domain/RunView.ts:25

One test's last run, for its detail; null when it has not run.

Parameters#

snap

RunSnapshot | null

area

TestArea

file

string

Returns#

TestRunView | null