assertTrue
Asserts whether given value is either true, non-empty, or truthy (in JavaScript terms):
This command is primarily designed to be used in combination with JavaScript values. For example, you can assert that two views have the same text:
You can also use it to immediately fail the test:
Related commands
assertVisibleassertNotVisibleLast updated