Struggling with origin URLs post Cypress 14.0.0 release #30926
Unanswered
adamstringy
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Good Afternoon,
Following the Cypress 14.0.0 release I am struggling to establish an origin URL that I can then use the test script against without using the cy.origin() function due to an automatic redirect.
My scenario:
When I visit my initial URL it automatically redirects the redirect URL which is then set as the origin, the below works however as all the test is ran inside the cy.origin promise I cannot use the functions in my commands.js file.
How can I set the origin URL to remain as the initial URL?
Beta Was this translation helpful? Give feedback.
All reactions