Skip to content
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 side bar disappears and the test is "paused" after automatic redirection #23208

Closed
leobaLMK opened this issue Aug 9, 2022 · 4 comments
Assignees
Labels
stage: awaiting response Potential fix was proposed; awaiting response

Comments

@leobaLMK
Copy link

leobaLMK commented Aug 9, 2022

Current behavior

When you go to a page with "cy.visit" and this one has an automatic redirection to another page with a different url base, the side bar on the left of Cypress disappears and the test pauses indefinitely.

Nothing more happens while the test still has steps to perform on the page as you can see on the screenshot.

image

This problem also appears on another test where after an automatic redirection from one page to another, the side bar disappears and the test is "paused" without displaying anything in error.

Desired behavior

Be able to continue the test steps (e.g. filling in input elements) on the page generated by the automatic redirection.

Test code to reproduce

I am not able to send you the code since it contains confidential data.

To reproduce you have to make a "cy.visit" on a page which has an automatic redirection as of its appearance towards another page with a different base url.

Cypress Version

10.4.0

Other

I have chromeWebSecurity: false in my config file

@AtofStryker AtofStryker self-assigned this Aug 9, 2022
@cypress-bot cypress-bot bot added the stage: investigating Someone from Cypress is looking into this label Aug 9, 2022
@marktnoonan
Copy link
Contributor

Just a note, @tbiethman and I were looking at a kind of similar issue yesterday: #17367

In looking at logs it led me to #14175, which seemed possibly antivirus related, and Sophos has recently patched https://support.sophos.com/support/s/article/KB-000044041?language=en_US

It's not clear that this is definitely related, but the end state is the same, the Cy browser ends up showing the application in top instead of in its own iframe, so it might be worth considering together.

@AtofStryker
Copy link
Contributor

Hi @leobaLMK. Thank you for opening an issue. Is it possible to make a quick reproduction example for us to run on our end and get the same results. This almost looks like frame busting @marktnoonan, but I'm not entirely sure. @leobaLMK have you tried using the experimentalModifyObstructiveThirdPartyCode flag and seeing if the issue persists?

@cypress-bot cypress-bot bot added stage: awaiting response Potential fix was proposed; awaiting response and removed stage: investigating Someone from Cypress is looking into this labels Aug 10, 2022
@nagash77
Copy link
Contributor

Unfortunately we have to close this issue due to inactivity. Please comment if there is new information to provide concerning the original issue and we can reopen.

@andreas-soroko
Copy link

Hello,

we investigated exactly the same problem. Unfortunately, I can not provide a reproduction example.
We set our baseUrl to our Frontend application which makes an redirect ( oidc ) to our backend to the login page.

Is there anything that we can provide? Logs what ever?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stage: awaiting response Potential fix was proposed; awaiting response
Projects
None yet
Development

No branches or pull requests

5 participants