ui/client/features/tests/domain/StepCode
Pure (DOMAIN-001): what a step binds to and the statement it becomes.
Cockpit client (features), v0.9. Source: ui/client/features/tests/domain/StepCode.ts.
Variables#
CHANGE_LABEL#
constCHANGE_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
readonlyadded:"Added by you"='Added by you'
changed
readonlychanged:"Changed by you"='Changed by you'
removed
readonlyremoved:"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
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
Returns#
string