Jackson Ricardo Schroeder

Results 37 comments of Jackson Ricardo Schroeder

Okay, but imported individually each vue component. Tks.

next.js + jest + testing library

@avkonst That's right! I ended up getting confused by the concept. The context, window and any global states are not shared between tests, right? I believe it has nothing to...

@avkonst That's it! Thanks.

@ljharb Thanks for the answer. I use the Testing Library to test cover the entire application. At the moment there are more than 600 test scenarios. Many of them simulating...

I got the elements for the start and end date through the getByRole method. Note below: ```js const firstDate = screen.getByRole('button', { name: /choose terça-feira, 1 de agosto de 2023...

@ljharb https://github.com/xereda/datepicker-test In this repository I managed to reproduce the problem.

> Sounds like an issue with RTL then; i'm not sure how getByRole works. ### **getByRole** The getByRole method from the Testing Library provides a way to select an element...

> @ljharb > > https://github.com/xereda/datepicker-test > > In this repository I managed to reproduce the problem. src/components/Datepicker/Datepicker.test.js https://github.com/xereda/datepicker-test/blob/main/src/components/Datepicker/Datepicker.test.js ` yarn test:watch ` Note that the modal is closed on the...