Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement toBeInViewport assertion #7650

Open
4 tasks done
kwojcik opened this issue Mar 10, 2025 · 0 comments
Open
4 tasks done

Implement toBeInViewport assertion #7650

kwojcik opened this issue Mar 10, 2025 · 0 comments
Labels
feat: browser Issues and PRs related to the browser runner p2-nice-to-have Not breaking anything but nice to have (priority)

Comments

@kwojcik
Copy link

kwojcik commented Mar 10, 2025

Clear and concise description of the problem

I've been implementing lot of scrolling things recently, and using getBoundingClientRect or IntersectionObserver in tests introduces clutter and makes tests less readable.

Suggested solution

Implement toBeInViewport

Alternative

No response

Additional context

No response

Validations

@sheremet-va sheremet-va added feat: browser Issues and PRs related to the browser runner p2-nice-to-have Not breaking anything but nice to have (priority) and removed enhancement: pending triage labels Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat: browser Issues and PRs related to the browser runner p2-nice-to-have Not breaking anything but nice to have (priority)
Projects
None yet
Development

No branches or pull requests

2 participants