Improve unit tests
What does this MR do and why?
This tiny MR improves the recently written unit tests on the dynamic scroller inside the Widget component. Instead of shallow mount, we now use mount to render the child content and check whether the content is rendered properly.
Screenshots or screen recordings
This is a unit-test only change. The UI is not affected.
How to set up and validate locally
- Run the specs.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #385402 (closed)