Reputation: 21
following is the process which I am following to redirect the domain
- cy.visit('website URL') by passing basic arguments for authentication pop-up
- click on the button
clicking on the button is redirecting to a different domain URL.(again it's showing basic authentication pop-up)
Upvotes: 2
Views: 2644
Reputation: 1110
Because cypress is not supporting this, you can start the test with visiting the domain where button is redirecting.
This is one of the disadvantages of cypress.
Upvotes: 2