Making a function inside an if statement run until you get a false value for the conditional using JS in Cypress
I am writing a test in Cypress where I enter two values into two separate inputs and then compare them by clicking a button. If the button displays “=”, I need to reset and reenter two new values until I get something other than “=”. It could be “+” or “-“.
cypress – how to continue running loop after assertion error
I have test that opens every item on the list. Then it validates if there are no empty (‘–‘) fields. I want to log in console that there were empty fields and go to another item and run the loop till the end. When Cypress throws error tests are stopped.