-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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 test runner redirects to __ suddenly #1245
Comments
You'll need to find the JS from your site causing the redirect. It is 100% on your application code and likely should be disabled when running in Cypress. It's called framebusting. The fix that you're using only works for framebusting which is checking |
Tks a lot @brian-mann . You guys are creating a great tool, keep working and i help / hope it get bigger. |
Fixed by #1295 |
Released in |
Great! When will 2.0 be released?
Cannot wait ;-)
Joël
Op 16 februari 2018 om 07:16:18, Brian Mann (notifications@github.com(mailto:notifications@github.com)) schreef:
…
Released in 2.0.0(https://docs.cypress.io/guides/references/changelog.html#2-0-0).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub(#1245 (comment)), or mute the thread(https://github.com/notifications/unsubscribe-auth/AC20XkgnszeoAKTatUIIdEbpSRDgqlIfks5tVR0ygaJpZM4R1dry).
|
@joelgrimberg It is released now. |
I am building an E2E test in which I use a button / submit to go to a second page.
the submit triggers a redirect through jQuery.
I tried using :
I also tried using
The code as shown above does not work (I still get the 'whoops') for redirects behind buttons;
it only works for redirects behind cy.visit as it looks.
#1064
#392
#969
#992
The text was updated successfully, but these errors were encountered: