Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cypress:run errors with percySnapshot #763

Open
ayaanqui opened this issue Nov 1, 2021 · 0 comments
Open

Cypress:run errors with percySnapshot #763

ayaanqui opened this issue Nov 1, 2021 · 0 comments
Labels
🐛 bug Something isn't working ❌ failing

Comments

@ayaanqui
Copy link
Collaborator

ayaanqui commented Nov 1, 2021

Running yarn cypress:run gives out errors for order_stocks_spec.ts and snapshots_spec.ts. It seems that the problem is stemming from using cy.percySnapshot.

Here is an example of the errors:

TypeError: Cannot read properties of undefined (reading 'isTTY')
      at PercyLogger.write (http://localhost:3000/__cypress/tests?p=cypress/support/index.js:5511:27)
      at PercyLogger.log (http://localhost:3000/__cypress/tests?p=cypress/support/index.js:5498:12)
      at Object.isPercyEnabled (http://localhost:3000/__cypress/tests?p=cypress/support/index.js:5839:11)
      at async Context.eval (http://localhost:3000/__cypress/tests?p=cypress/support/index.js:5148:10)

References

@ayaanqui ayaanqui added ❌ failing 🐛 bug Something isn't working labels Nov 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working ❌ failing
Projects
None yet
Development

No branches or pull requests

1 participant