Blackout area is offset from where it should be when upgrading to 9.7.0 from 9.5.4
See original GitHub issueCurrent behavior
Blackout is not blacking out the specified area in 9.7.0. It seems to be trying, but the blacked out area is offset from where it should be.
This is my blackout area in Cypress 9.5.4:
I am attempting to upgrade to 9.7.0, and the wrong area is being blacked out. The tests haven’t changed.
Desired behavior
Blackout the specified area.
Test code to reproduce
cy.findByAutomationID(`drive`)
.should(`be.visible`)
.matchImageSnapshot({ blackout: [`[data-automation-id="drive-item-modified-date"]`] })
Cypress Version
9.7.0
Other
I also tried one or two Cypress 9.6 versions and saw the same behavior there. I am unable to upgrade past 9.5.4 since it breaks my visual tests that use blackout. It seems like blackout is still functioning, it’s just blacking out the wrong area on the page. These tests have been working properly with all versions of Cypress since July, 2021. The tests work great in Cypress 9.5.4.
Issue Analytics
- State:
- Created a year ago
- Comments:14 (7 by maintainers)
Top Results From Across the Web
Changelog - Cypress Documentation
Fixed an issue with Angular Component Testing where urls within SASS/SCSS files were not being correctly resolved which could result in incomplete styling....
Read more >Upgrade from ONTAP 9.3 directly to 9.7 - NetApp Community
I need to upgrade a FAS2554 (with 2 node HA cluster switchless), that is running 9.3P21 to 9.7, since I buy a new...
Read more >MLB blackout restrictions, explained: Map shows why you can ...
Here's what to know about MLB's blackout restrictions in 2022, including the map of regional broadcasts.
Read more >9.5P4 upgrade to 9.7P10 - Last upgrade before support expires
Hello all. Running a FAS8200 with two controllers. Both are currently running 9.5P4. Our original 3 year support with netapp is going to ......
Read more >cypress: Versions - Openbase
Previously the command would incorrectly fail with a syntax error. ... Upgraded the Chromium browser version used during cypress run and when selecting ......
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
Thank you @jordanhennell !
Indeed it does look to have been introduced when adding cross origin support. Got a small repro here, where it’s attempting to blackout the English label.