assert for fuzzy or visual conditions; for
an exact-text check prefer
checkScreenContains, which
is deterministic and cheaper. The simplified form takes the condition as a
single string.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
that | string | Yes | The condition to assert. |
timeout | number | No | Milliseconds to wait for the condition to become true. |
saveAs | string | No | Variable to store this step’s return value on env.<name>. |
retries | number | No | Times to retry the step on failure before failing the test. |
skipped | boolean | No | Skip this step at execution time. |