vendredi 5 juin 2020

Testing a redirect to a new Superdomain with Cypress

I am testing an application that has a "Continue" button This button has no href. When I click "Continue", it triggers a POST and redirects it to another superdomain.

I tried solutions like those mentioned in the link: Testing a redirect to a new route with Cypress

But it didn't work for me.

enter image description here

If I remove the "wait" after click, the following test fails with:

Step implementation missing for

Aucun commentaire:

Enregistrer un commentaire