react-ui icon indicating copy to clipboard operation
react-ui copied to clipboard

Testing components integration

Open bedrich-schindler opened this issue 9 months ago • 1 comments

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?

bedrich-schindler avatar Mar 10 '25 10:03 bedrich-schindler

cc @adamkudrna @mbohal @lukasbriza

bedrich-schindler avatar Mar 10 '25 10:03 bedrich-schindler