happo / happo-cypress

A Happo integration with Cypress.io
35 stars 4 forks source link

Add cy.happoHideDynamicElements function #56

Closed trotzig closed 3 years ago

trotzig commented 3 years ago

This function can be used to hide certain elements that are known to cause spurious diffs. The defaults include:

You can append selectors via a selectors option and matchers (regexes) with matchers.