I need to navigate two different urls in a single Test but when am navigating second one , it giving me error 1.FirstUrl- "https://app.ca-test.com/Public/Login?ReturnUrl=%2F" 2.SecondUrl -"https://www.mailinator.com/"(location and origin is change)
"cy.visit() failed because you are attempting to visit a URL that is of a different origin."
I used cy.request() also but didn't work so how can we do this?? But i have to navigate two urls in single test, and can not divide test case. This is my TestCase