How-to
Editable assert (toBeEditable)
Editable assert (toBeEditable)
Expect assertion: the Target accepts text input.
Step model
action_name | toBeEditable |
| Group | Expect |
| Target | Required |
| Value | Unused |
| expected_value | Unused |
| TEST_ACCOUNT | Forbidden |
| Do not confuse with | toBeEnabled, toBeEmpty |
Target/Value facts match the source-of-truth catalog and Autotest step.
Prerequisites
- Target is an input.
Steps
- Add a
toBeEditablestep. - Set Target.
- Leave Value empty.
- Save.
The step is stored on the autotest. Next - neighbouring steps or autotest run creation.
Examples
Email field
Fields in the UI:
| Field | Value |
|---|---|
action_name | toBeEditable |
| Target | kind LABEL, value Email |
Step JSON fragment (copy-paste):
json
{
"action_name": "toBeEditable",
"target": {
"kind": "LABEL",
"value": "Email"
}
}Common mistakes
- A button can be enabled and still not be an editable field.
Screenshots
Screenshots of the step form for toBeEditable will be added here in a later pass.
Did this page help?