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

Flaky test: Rerendering.cy.jsx in @cypress/vite-dev-server sometimes fails with React being null #30881

Open
AtofStryker opened this issue Jan 15, 2025 · 0 comments · May be fixed by #30908
Open
Labels
process: flaky test Related to test(s) that have flake in our internal tests type: chore Work is required w/ no deliverable to end user

Comments

@AtofStryker
Copy link
Contributor

Link to Cypress Cloud or CircleCI failure

https://app.circleci.com/pipelines/github/cypress-io/cypress/66544/workflows/887d2da9-a5aa-4b08-94b4-4e82a75461b5/jobs/2761701/tests#failed-test-0

Link to failing test in GitHub

N/A

Analysis

When running the vite_dev_server_fresh_spec inside cypress system tests, the @cypress/vite-dev-server react executes all of the specs for vite_VERSION seems to fail on the Rerendering.cy.jsx test sometimes. Based on the error, it looks like React is not hydrated into the spec file or is hydrated as null, which throws the following error:

Image

Cypress Version

14.0.0

Other

No response

@jennifer-shehane jennifer-shehane added process: flaky test Related to test(s) that have flake in our internal tests type: chore Work is required w/ no deliverable to end user labels Jan 15, 2025
@AtofStryker AtofStryker linked a pull request Jan 17, 2025 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
process: flaky test Related to test(s) that have flake in our internal tests type: chore Work is required w/ no deliverable to end user
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants