Comment on page
Recording assertions
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.
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
- 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
- 4.Once you're done, click
Exit assert mode
