-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cypress change visiting url with adding /__/#/tests/__all
#4453
Comments
Could somebody confirm that it existing bug or say what I'm doing wrong, please? This quite critical thing doesn't allow me to move forward. |
same as i did. But it run smoothly when it headless or when its browser is electron. When its on chrome 😕 so what i did is force to desired link to run the test. But its just wasting time (almost 2-3 second wasted for reload the page) |
@OksanaFirtych Cypress works by opening your tests in a frame inside of a URL that looks like |
@flotwig Yes, my site with routing isn't loading at all any pages. But if I remove routing at all it will work under cypress. As you can see above it's not only mine problem. |
@OksanaFirtych I see, can you share a screenshot of the failure and a copy of the entire |
@OksanaFirtych Can you share a screenshot of Does it work if you run it in Electron? |
I see Closing as duplicate of #1253 |
I have a url like this as well but when I try to hit a url with a different domain it gives me something like
And since it is an invalid url, my application reroutes to the default url ( Also, I have defined two Can someone please tell me how I can just visit the |
A fix for this is available starting in {
"experimentalSourceRewriting": true
} The fix is experimental, so there may be some situations where the this is not fixed. If you're still this issue while setting the |
Cypress adds some unexpected suffix in testing url.
Current behavior:
cy.visit('http://localhost:3000/')
run cypress.
it openes url
http://localhost:3000/__/#/tests/__all
Page not found
cy.visit('http://localhost:3000/simple')
run cypress.
it openes url
http://localhost:3000/__/#/tests/__all
Page not found
Desired behavior:
Should visit exactly url from script http://localhost:3000/ or http://localhost:3000/simple and test rendered page.
Steps to reproduce: (app code and test code)
I've created testing repository. https://github.com/OksanaFirtych/test_cypress
Visit http://localhost:3000/ or http://localhost:3000/simple in browes to verify that it's started
Versions
Cypress 3.2.0
Chrome 75.0.3770.80
The text was updated successfully, but these errors were encountered: