Closed floroz closed 1 year ago
Seems related to https://github.com/cypress-io/cypress/issues/25913
hey @floroz 👋
have you tried running without percy exec --
?
just the following part, if it still breaks, then this is not related to Percy.
cypress run --headless --browser electron --component --config excludeSpecPattern='!(**/visuals/**)'
hey @floroz 👋
have you tried running without
percy exec --
?just the following part, if it still breaks, then this is not related to Percy.
cypress run --headless --browser electron --component --config excludeSpecPattern='!(**/visuals/**)'
Hi @itsjwala, thanks for the response.
The bug seems related to https://github.com/cypress-io/cypress/issues/25913 and it appears quite nasty to solve.
We are migrating our Percy tests away from Component Testing and using Cypress E2E to avoid loading components as async chunk.
So far it looked promising.
I'll close the issue since it's not related to Percy SDK.
The problem
Our Percy tests in Cypress are failing intermittently with the below error:
https://github.com/percy/percy-cypress/assets/45793869/bd3dbb1c-14c6-478a-b9a2-2da9f93d1f56
This happens intermittently in random tests, never in the same twice, and only happens when running the test using Cypress.
We run using the following command:
and our setup is the same for all tests.
cy.percy is a wrapper that we created as a custom command:
We have separate cypress integration for the same components where we don't experience this error.
Environment
@percy/cli
version: 1.26.2@percy/cypress
: 3.1.2percy exec -- cypress run --headless --browser electron --component --config excludeSpecPattern='!(**/visuals/**)'