Percy snapshot does not render all LESS/CSS
See original GitHub issueI have a compiled LESS file called marketing.less
that is used to style the entire website for which I have Cypress tests and percy/cypress taking snapshots. Problem is the <header>
on all pages does not seem to be receiving all of this CSS despite the rest of the page receiving it without problem.
Is it possible to see the HTML that Percy rendered for the snapshot so that I can debug my HTML? I am wondering if a CSS class is not being properly applied in the snapshot leading to this missing CSS.
Outside of that do you have any documentation around this CSS issue? All other issues I looked up in Github have not helped thus far.
Thanks!
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Capturing lazy loading images - Percy Docs
For snapshots to render correctly, the page will need to be scrolled before a Percy snapshot is captured. Percy does not automatically scroll...
Read more >screenshot a particular element · Issue #56 · percy ... - GitHub
The DOM that is returned from domTransformation must be able to be rendered by itself (including all of the needed asset links, etc)....
Read more >Awesome Visual Testing with Percy! - David Walsh Blog
After free sign up, Percy provides a sample app to show you how things work. Percy works off of a system of snapshots,...
Read more >@percy/cli-snapshot - npm
Start using @percy/cli-snapshot in your project by running `npm i ... Debug asset discovery and do not upload snapshots Global options: -v, ...
Read more >Using Percy to add visual testing to a Jekyll site - CSS-Tricks
Instead of testing the code underneath, visual testing is all. ... export PERCY_TOKEN=aaabbbcccdddeee $ npx percy snapshot _site/.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just verified my screenshots are rendering correctly. Thanks!
https://percy.io/79ce8a85/localize/builds/7704792
Awesome! Happy to help! 😃