Recording assertions

What is an assertion?

You assert that some condition is met, and if it isn't, the test should fail.

How to record an assertion?

You can add more advanced assertions manually - learn more about assertions and their types.

  1. Click Add assert

  2. Click the element that you want to check: every time the test is run BugBug will check if this element contains the same text or is visible on the page

You can also enable the "Add multiple" toggle, to select various elements on the page at once. Such as checking if all the elements are in place in the main navigation menu.

Last updated