Recording assertions

What is an assertion?

Use assertions to check if your page behaves as it should, without interacting with it. You assert if something is there, and if it is not, your test fails.

How to record an assertion?

Currently, you can only add "Assert text" during the recording, but you can add more advanced assertions manually - learn more about assertions and their types.
  1. 2.
    Click Assert
  2. 3.
    Click the element that you want to check: every time the test is run BugBug will check if this element contains the same text
  3. 4.
    Once you're done, click Exit assert mode