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

Chrome 72 loads my UI instead of cypress UI #3252

Closed
fr0 opened this issue Jan 30, 2019 · 7 comments
Closed

Chrome 72 loads my UI instead of cypress UI #3252

fr0 opened this issue Jan 30, 2019 · 7 comments
Labels
type: duplicate This issue or pull request already exists

Comments

@fr0
Copy link

fr0 commented Jan 30, 2019

Current behavior:

On Chrome 72, running tests with cypress open launches the browser, and then goes straight to my URL (http://localhost:4200) instead of opening cypress's page and then loading my page in an iframe.

Even weirder, it appends Cypress's location to my baseUrl (e.g. __/#/tests/integration\config\edit.spec.ts).

Things work as expected if I choose electron instead.

FYI, Chrome 72 was just released yesterday,

Versions

Cypress 3.1.4, Windows 10

@jennifer-shehane
Copy link
Member

Hey @fr0 can you try this workaround for Chrome 72? #1872 (comment)

This fix will be released shortly in 3.1.5.

@jennifer-shehane jennifer-shehane added the stage: awaiting response Potential fix was proposed; awaiting response label Jan 30, 2019
@fr0
Copy link
Author

fr0 commented Jan 30, 2019

Thanks for the response - I just tried the workaround and it does work.
Glad to know you have a fix. You probably want to fast track that since this bug results in a really terrible startup experience for new users.

@jennifer-shehane jennifer-shehane added type: duplicate This issue or pull request already exists and removed stage: awaiting response Potential fix was proposed; awaiting response labels Jan 30, 2019
@fr0
Copy link
Author

fr0 commented Jan 30, 2019

The workaround fixes the main issue but I noticed one other thing that still occurs with the workaround: if the test log gets too long, the scrollbar appears for the entire page instead of just the test log. This has the weird side effect of scrolling my app off the screen, and then when cypress tries to scroll an element in view, it seems like it's fighting with myself.

I'll see if I can take screenshots to illustrate what I mean.

@fr0
Copy link
Author

fr0 commented Jan 30, 2019

** With Electron: **
electron

** With Chrome 72 + workaround: **

chrome

@fr0
Copy link
Author

fr0 commented Jan 30, 2019

If this is just an issue that occurs with the workaround and not with 3.1.5 then it's not worth worrying about, but I thought I'd report it anyway.

@jennifer-shehane
Copy link
Member

@fr0 Yes, this is a new bug. I will open a new issue.

@fr0
Copy link
Author

fr0 commented Jan 30, 2019

Thank you! I appreciate your hard work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants