forwarding to new url adds "/" #24817
Unanswered
UmbrellaTester
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
in the application i am testing is the Login Process a fowarding to our internal ID Server.
If i do the test manually its fine but in Cypress the new url gets an additional "/".
My Code is:
context("Login", () => {
})
After calling my application the application is forwarding to our internal ID Server. The URL then includes the string #forwardedFromCloud.
in the Cypress Logs you can see that the right url is called but after the forwarding to the application the url contains an additional "/". The url now calls a website that is not complete and the test fails.
I talked many times to our devs if there is any possibilty that the new url gets the additional "/" from their code but there is no possible way that this could happen.
If i call the the new url (with the additional "/") in a web browser outside of cypress its perfectly fine because the browser removes it.
In Cypress this doesnt happen. Is there a way to make the browser called by cypress to remove it too?
Or is there any other solution to that?
Beta Was this translation helpful? Give feedback.
All reactions