assertNotVisible

Assert that an element is not visible using a selector.

Options

  • text - text inside a view

  • id - id of the view

  • enabled - true if view is enabled

  • checked - true if view is checked

  • focused - true if view has keyboard focus

  • selected - true if view is selected

Examples

Verify that the text "email address is not valid" can not be seen:

- assertNotVisible:
    text: "email address is not valid"

Last updated