Line

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

ui/client/features/tests/domain/StepCode

Pure (DOMAIN-001): what a step binds to and the statement it becomes.

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

Variables#

CHANGE_LABEL#

const CHANGE_LABEL: object

Defined in: ui/client/features/tests/domain/StepCode.ts:28

The label next to a row that changed since it was opened.

Type Declaration#

added

readonly added: "Added by you" = 'Added by you'

changed

readonly changed: "Changed by you" = 'Changed by you'

removed

readonly removed: "Removed by you: kept here until you save" = 'Removed by you: kept here until you save'

Functions#

bindingOf()#

bindingOf(step): string

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

The selector or call a step binds to (the convention: data-testid from the event, data-flow-state from the state).

Parameters#

step

StepFields

Returns#

string


codeOf()#

codeOf(step): string

Defined in: ui/client/features/tests/domain/StepCode.ts:17

A read-only preview of the statement this step becomes.

Parameters#

step

StepFields

Returns#

string