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 tests do not start because of TypeError when CSS hot reload is enabled on .env #25279

Closed
luixxiul opened this issue May 4, 2023 · 0 comments · Fixed by #28152
Closed
Labels
A-Developer-Experience A-Testing Testing, code coverage, etc. Hacktoberfest Issues which are suitable for Hacktoberfest PRs: https://hacktoberfest.digitalocean.com/ Help Wanted Extra attention is needed O-Occasional Affects or can be seen by some users regularly or most users rarely S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect

Comments

@luixxiul
Copy link

luixxiul commented May 4, 2023

Steps to reproduce

  1. Enabling CSS hot reload on .env by setting CSS_HOT_RELOAD=1
  2. yarn start
  3. Start a Cypress test locally

Outcome

What did you expect?

The test should run.

What happened instead?

It does not start due to a TypeError below:

The following error originated from your application code, not from Cypress.

  > Cannot read properties of undefined (reading 'message')

When Cypress detects uncaught errors originating from your application it will automatically fail the current test.

Operating system

Debian

Application version

No response

How did you install the app?

No response

Homeserver

No response

Will you send logs?

No

@andybalaam andybalaam added S-Minor Impairs non-critical functionality or suitable workarounds exist A-Developer-Experience O-Occasional Affects or can be seen by some users regularly or most users rarely labels May 4, 2023
@Johennes Johennes added the A-Testing Testing, code coverage, etc. label Oct 16, 2023
@Johennes Johennes added Help Wanted Extra attention is needed Hacktoberfest Issues which are suitable for Hacktoberfest PRs: https://hacktoberfest.digitalocean.com/ labels Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Developer-Experience A-Testing Testing, code coverage, etc. Hacktoberfest Issues which are suitable for Hacktoberfest PRs: https://hacktoberfest.digitalocean.com/ Help Wanted Extra attention is needed O-Occasional Affects or can be seen by some users regularly or most users rarely S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants