assertVisible

Assert that an element is 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 be seen:

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

Last updated