-
Notifications
You must be signed in to change notification settings - Fork 35
Description
🐛 Bug Report
After migrating components from using explicit required props in PushContainer to using the defined JSON schema in Form.Handler (feature from #5567) there seems to be issues with rendering, but I have only experienced this in tests.
Not sure how important this is to fix, but it might be a sign of issues that could manifest in a running app?
To Reproduce
Search for BUG or navigate to line 255 in InternationalTransactions.tsx to find the trigger for the bug; setting required to false or removing it.
The section has pre-defined data that makes an edit container open. This is viewable when running the app via npm run dev.
When running the test with the trigger enabled, the section is not rendered.
Behaviour is unchanged in the running app regardless of the trigger being enabled or not.
Expected behavior
Expect components to be testable and behave similar in tests as they do in running code.
Eufemia Version
10.89.0