Skip to main content
Deterministically asserts that the given text does not appear on the screen. The simplified form takes the text as a single string.

Parameters

ParameterTypeRequiredDescription
textstringYesText expected to be absent.
timeoutnumberNoMilliseconds to wait while confirming the text is absent.
saveAsstringNoVariable to store this step’s return value on env.<name>.
retriesnumberNoTimes to retry the step on failure before failing the test.
skippedbooleanNoSkip this step at execution time.

Shorthand

Text as a single string.
- checkScreenDoesNotContain: Error

Examples

- checkScreenDoesNotContain:
    text: Error
    timeout: 5000 # keep checking for 5s that it never appears