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

Ability to interact with elements outside the visible viewport (no scrolling needed) #2132

Open
ka9s2d opened this issue Nov 12, 2024 · 1 comment
Labels

Comments

@ka9s2d
Copy link

ka9s2d commented Nov 12, 2024

Use case

I am transitioning from Cypress to [insert framework/library you're using] and encountered a limitation when testing views that are positioned outside the initial viewport (specifically at the bottom of the screen). In Cypress, I was able to click and assert the visibility of elements even if they were not visible to the user without needing to scroll the page.

However, in my current testing setup, I need to scroll down to make these elements visible, and I'd like to know if there is an equivalent feature or method for interacting with elements outside the user's immediate screen, such as clicking or verifying their existence without requiring scroll actions.

android-jetback compose

Proposal

Expected Behavior:

It would be ideal to have a way to directly interact with and verify elements even if they are outside the current viewport (e.g., below the fold) without needing to scroll or move the page.

Current Behavior:

Currently, the framework requires scrolling down to bring elements into view before they can be interacted with or verified.

Steps to Reproduce:

Load a page with an element located at the bottom of the screen (below the fold).
Attempt to click or verify the element without scrolling.
Notice that the framework requires scrolling to interact with the element.
Environment:

Anything else?

❤️

@herval herval added the Maestro label Nov 26, 2024 — with Linear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants