Skip to main content

assertNotVisible

Assert that an element is not visible.

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: "email address is not valid"