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

[Testing] Added UITests method overrides allowing the use queries #25559

Merged
merged 3 commits into from
Oct 30, 2024

Conversation

jsuarezruiz
Copy link
Contributor

Description of Change

Added UITests method overrides allowing to use queries in addition to automation ids.

Added:

  • DoubleTap (IQuery query)
  • TouchAndHold (IQuery query)
  • DragAndDrop (IQuery dragSource, IQuery dragTarget)
  • SwipeLeftToRight (IQuery query, double swipePercentage = 0.67, int swipeSpeed = 500, bool withInertia = true)
  • SwipeRightToLeft (IQuery query, double swipePercentage = 0.67, int swipeSpeed = 500, bool withInertia = true)
  • ScrollLeft (IQuery query, ScrollStrategy strategy = ScrollStrategy.Auto, double swipePercentage = 0.67, int swipeSpeed = 500, bool withInertia = true)
  • ScrollRight (IQuery query, ScrollStrategy strategy = ScrollStrategy.Auto, double swipePercentage = 0.67, int swipeSpeed = 500, bool withInertia = true)
  • ScrollTop (IQuery query, ScrollStrategy strategy = ScrollStrategy.Auto, double swipePercentage = 0.67, int swipeSpeed = 500, bool withInertia = true)
  • ScrollBottom (IQuery query, ScrollStrategy strategy = ScrollStrategy.Auto, double swipePercentage = 0.67, int swipeSpeed = 500, bool withInertia = true)

@dotnet dotnet deleted a comment from azure-pipelines bot Oct 29, 2024
@jfversluis jfversluis merged commit 8d00e9b into main Oct 30, 2024
107 checks passed
@jfversluis jfversluis deleted the uitest-add-overrides branch October 30, 2024 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-testing Unit tests, device tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants