-
Notifications
You must be signed in to change notification settings - Fork 419
Closed
Description
Describe the bug
the use of @mui/material/Hidden to toggle UI causes issues in test that need to be mocked (see #1795). Additionally Hidden has been deprecated. Mui docs recommend switching the JS implementation (which is used by jsonforms) to a ternary.
https://mui.com/material-ui/migration/v5-component-changes/#hidden
Expected behavior
Testing form contents should be possible
Steps to reproduce the issue
- Create a form
- Create a test (testing-library/react) around that form
- Add an assertion on any form field
- Call
screen.debug()in the test - Note the jsonforms container is empty
Screenshots
No response
In which browser are you experiencing the issue?
testing-library/react
Which Version of JSON Forms are you using?
v3.0.0
Framework
React
RendererSet
Material
Additional context
No response
MikeyZat