Implement toBeInViewport
assertion
#7650
Labels
feat: browser
Issues and PRs related to the browser runner
p2-nice-to-have
Not breaking anything but nice to have (priority)
Clear and concise description of the problem
I've been implementing lot of scrolling things recently, and using
getBoundingClientRect
orIntersectionObserver
in tests introduces clutter and makes tests less readable.Suggested solution
Implement toBeInViewport
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: