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
Update to cypress 4.6.0 is not consistently showing address bar/viewport is resizing #7443
Comments
+1 it's gone for me as well |
I bet this is due to #7203 |
@jennifer-shehane would this be slated for the next release? |
Yeah, I can see the same issue with OS: macOS Mojave 10.14.6 Noticed this happens when Cypress scrolls to an element that is not visible within the specified viewport, although it scrolls to the element correctly. |
I was able to recreate this with the following code. I also have to run this code in combination with resizing the main browser window to touch either the width/height of the AUT iframe. So if my browser window is really maxed out - you won't see it.
<html>
<body>
<p style="height: 2000;">Aenean lacinia bibendum nulla sed consectetur.</p>
<footer>Aenean lacinia bibendum nulla sed consectetur.</footer>
</body>
</html>
it('test', () => {
cy.visit('index.html')
cy.get('footer').click()
}) |
Reverting #7203 fixes the issue. Will go ahead and revert and reopen the other issue this was fixing since this affects more people. |
The code for this is done in cypress-io/cypress#7448, but has yet to be released. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Current behavior:
When running a test with cypress 4.6.0, I am noticing that that address bar is showing when the test starts and then disappearing shortly after.
I am also noticing the view port is resizing and not showing the whole application while the tests run through. I was on version 4.4.1 prior to uploading (didnt see these issues), so I am not sure if this issue was present on 4.5.0.
Desired behavior:
I would expect the address bar would always show during a test and that the page doesnt resize/ stays the same size during the test run.
Test code to reproduce
Versions
4.6.0
mac (high sierra 10.13.6)
chrome and edge browsers (did not try others)
The text was updated successfully, but these errors were encountered: