-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
dependenciesPull requests that update a dependency filePull requests that update a dependency file
Description
Taking snapshots with Percy fails in our Cypress tests from v1.19 (which is why it was pinned to v1.18.0)
TypeError: Cannot read properties of null (reading 'sheet')
at styleSheetFromNode (http://localhost:3000/__cypress/tests?p=cypress/support/e2e.ts)
at serializeCSSOM (http://localhost:3000/__cypress/tests?p=cypress/support/e2e.ts)
at serializeElements (http://localhost:3000/__cypress/tests?p=cypress/support/e2e.ts)
at Object.serializeDOM (http://localhost:3000/__cypress/tests?p=cypress/support/e2e.ts)
at Context.eval (webpack://api3-dao-dashboard/./node_modules/@percy/cypress/index.js:59:0)
Shadow DOM serialisation seems to be the main thing introduced with v1.19 https://github.com/percy/cli/releases/tag/v1.19.2
It might be related to the web3modal because it uses shadow DOM.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
dependenciesPull requests that update a dependency filePull requests that update a dependency file