Closed
Description
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)
Activity
Jacek-fstack commentedon May 21, 2020
+1 it's gone for me as well
jennifer-shehane commentedon May 21, 2020
I bet this is due to #7203
danreale commentedon May 21, 2020
@jennifer-shehane would this be slated for the next release?
ragu2807 commentedon May 21, 2020
Yeah, I can see the same issue with
v4.6.0
whereas4.5.0
looks good.OS: macOS Mojave 10.14.6
Browsers: Chrome, Edge, Firefox and Electron
Noticed this happens when Cypress scrolls to an element that is not visible within the specified viewport, although it scrolls to the element correctly.
jennifer-shehane commentedon May 22, 2020
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.
index.html
spec.js
jennifer-shehane commentedon May 22, 2020
Reverting #7203 fixes the issue. Will go ahead and revert and reopen the other issue this was fixing since this affects more people.
10 remaining items