-
Spike
-
Resolution: Done
-
Undefined
-
None
-
openshift-4.19, openshift-4.20
-
Quality / Stability / Reliability
-
False
-
-
False
-
None
-
None
-
OCP Console - Sprint 271
Enzyme has lost support in React 17+. As a part of the React 18 upgrade, we need to transition our test suite away from Enzyme and towards react-testing-library.
As a part of the spike, we should figure out:
- How much effort will it take to rewrite all enzyme tests? How many tests are affected?
- Is the Jest upgrade a prerequisite for this process?
- How can we prevent further Enzyme tests from being written in the meantime?
Extra reading: https://dev.to/wojtekmaj/enzyme-is-dead-now-what-ekl
Acceptance Criteria
- A comprehensive audit list of Enzyme tests and their complexity levels.
- Documentation of any identified challenges and suggested solutions.
- Proposed API for shared RTL test utilities.
- A step-by-step migration roadmap for items in the audit list.