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

refactor: reorganize folder structure of React 18 tests for v9 #34051

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marcosmoura
Copy link
Contributor

This PR doesn't add anything new and noteworthy, but rather reorganize the files and folders for upcoming tests that will be added for the components that are not yet covered here.

Previous Behavior

Test files were organized in a flat structure

New Behavior

Move the test files to dedicated folders per component and utils

Copy link

📊 Bundle size report

✅ No changes found

Copy link

Pull request demo site: URL

@@ -1,17 +1,18 @@
import * as React from 'react';
import { mount } from '@cypress/react';
Copy link
Contributor

@mainframev mainframev Mar 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we actually testing with a version of Cypress that supports React 18? If not, it seems like the cypress mount might not be using createRoot from the React 18 react-dom/client API.

Currently, we have cypress/[email protected] in the root and we're still using [email protected], which, as I see also inside using cypress/react that does not support 18.

From migration docs of cypress 14:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants