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

CSS disappears after mousing over the snapshot links #27632

Closed
nick-true-dev opened this issue Aug 22, 2023 · 5 comments
Closed

CSS disappears after mousing over the snapshot links #27632

nick-true-dev opened this issue Aug 22, 2023 · 5 comments
Labels
stage: needs investigating Someone from Cypress needs to look at this stale no activity on this issue for a long period type: bug

Comments

@nick-true-dev
Copy link

nick-true-dev commented Aug 22, 2023

Current behavior

After running cypress e2e tests, the target site gets rendered as expected.

However, if you over the mouse cursor over any of the test snapshot links in the cypress desktop app, then certain css styles unexpectedly disappear from these snapshots.

More specifically, the <link> elements used to import dark/light theme css files will disappear from the <head> section after you hover the mouse over a snapshot.

This causes the background color to change from dark gray to white.

For example, this is before hovering the mouse over 1 visit /:

before mouse over

...and this is after:

after mouse over

Desired behavior

The website's background color should remain gray/black whether or not the user hovers over the snapshot link.

Test code to reproduce

https://github.com/nick-true-dev/cypress_css_issue_example

Cypress Version

12.17.4

Node version

16.20.1

Operating System

macOS 12.6.8

Debug Logs

No response

Other

Note that the elements get added dynamically by addLinkElt() in App.vue in this example.

@jennifer-shehane
Copy link
Member

@nick-true-dev Is this still occurring in v13 latest?

@jennifer-shehane jennifer-shehane added the stage: awaiting response Potential fix was proposed; awaiting response label Dec 17, 2023
@nick-true-dev
Copy link
Author

Hi Jennifer. I still see the issue with cypress 13.6.1.

@jennifer-shehane jennifer-shehane added stage: needs investigating Someone from Cypress needs to look at this type: bug and removed stage: awaiting response Potential fix was proposed; awaiting response labels Jan 5, 2024
@mfgabriel92
Copy link

I am facing the same thing, except the entire page, with its elements, go invisible, not only the styling.

@cypress-app-bot
Copy link
Collaborator

This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.

@cypress-app-bot cypress-app-bot added the stale no activity on this issue for a long period label Oct 31, 2024
@cypress-app-bot
Copy link
Collaborator

This issue has been closed due to inactivity.

@cypress-app-bot cypress-app-bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stage: needs investigating Someone from Cypress needs to look at this stale no activity on this issue for a long period type: bug
Projects
None yet
Development

No branches or pull requests

4 participants