react-ui
react-ui copied to clipboard
Testing components integration
Blocked by #591
We had discussion with @lukasbriza and @mbohal about integration tests as part of component tests. Currently, @lukasbriza have been implementing component tests where he created special describe formLayout that covers testing within FormLayout context. Tests itself are just rewritten from Jest to Playwright.
We raised question about other integrations, e.g. InputGroup context, global props, translations. Do we want to test them? How the structure of the test should look like? Do we want to have component wrapped in provider component or use context directly?
cc @adamkudrna @mbohal @lukasbriza