How to validate Browser Error's message with cypress

Viewed 956

For example if user dont fill this field and press "continue" button, this error message will pop up. I wonder is there a way with Cypress that I check that error message was displayed?

Kind regards

enter image description here

1 Answers
Related