/assert
Ensure some criteria is true within your test.
Use the /assert
to command generate an assertion. This will take a screenshot and use it to identify some criteria that ensures the task was complete.
This will "assert" that there's no error message, just like a user would see. The generated command will look like this:
When TestDriver runs this test, it will look at the screen and verify that the value of expect
is true
. If it is not true, the test will fail and exit immediately.
Many asserts can slow down a test. Use async: true
to speed things up.
Last updated