-
Notifications
You must be signed in to change notification settings - Fork 9
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
Extend the navigate_until_text
method
#151
Comments
Hello, Do you know that Regarding your proposal, we can discuss about change in |
Hi @xchapron-ledger,
Take for example the app-recovery-check application. A user scrolls left-to-right through an alphabet before choosing a letter. When the letter is at a certain position on screen the user chooses it. |
Note that current So I think in your situation I would have go with a compare_screen_with_snapshot, with a reference snapshot for each letter of the alphabet. @lpascal-ledger You worked on the password app and the recovery one, do you have any opinion on this? |
This discussion pulls a lot of interesting questions on the Personally I use On a pure functional level, it would make sense to me to allow checking the text position. This information is provided by Abstraction-wise, this feel too specific and low-level for the If the expected result is to fasten the test execution however, as @xchapron-ledger mentionned currently they won't be performance benefits from waiting for this specifically positioned text. Snapshot will still be asked to |
HI @lpascal-ledger, Just to add that this suggestion may be niche but not so niche that it would be useful in only one app; app-recovery-check. |
@aido the niche thing I'm talking about is implementing |
Would it be possible to extend the
navigate_until_text
method tonavigate_until_text_at_position
where x and y positions are provided?Or use the same
navigate_until_text
method but add x and y parameters. Ignore position if x and y are not provided but test if text is at that position if x and y are provided.The text was updated successfully, but these errors were encountered: