Current behavior:
Snapshots copy the styles from stylesheets with media="print". This can cause styles to be applied in the snapshot that aren't supposed to be applied.
What it should look like:

What it looks like in snapshot (notice the #sidebar-first style with display: none):

Styles come from the stylesheet with media="print":

Desired behavior:
Snapshots should ignore print stylesheets. In fact, they should probably ignore any stylesheet media value that's not undefined or screen.
Steps to reproduce:
cy.visit('https://s1.demo.opensourcecms.com/drupal/')
View the snapshot and see that it doesn't appear correct because the print stylesheet hides certain elements such as the search.
Versions
Cypress: 2.1.0
OS: MacOS
Browser: Chrome 65
Current behavior:
Snapshots copy the styles from stylesheets with
media="print". This can cause styles to be applied in the snapshot that aren't supposed to be applied.What it should look like:
What it looks like in snapshot (notice the
#sidebar-firststyle withdisplay: none):Styles come from the stylesheet with
media="print":Desired behavior:
Snapshots should ignore print stylesheets. In fact, they should probably ignore any stylesheet
mediavalue that's not undefined orscreen.Steps to reproduce:
View the snapshot and see that it doesn't appear correct because the print stylesheet hides certain elements such as the search.
Versions
Cypress: 2.1.0
OS: MacOS
Browser: Chrome 65