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] Implement Appium swipe action on Catalyst using the Mac Driver #27441

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

jsuarezruiz
Copy link
Contributor

@jsuarezruiz jsuarezruiz commented Jan 29, 2025

Description of Change

Implement Appium swipe action on Catalyst using the Mac Driver https://github.com/appium/appium-mac2-driver?tab=readme-ov-file#macos-clickanddrag.
Using an action with a pointer of type PointerKind.Touch does not work on Mac.

@jsuarezruiz jsuarezruiz added the area-testing Unit tests, device tests label Jan 29, 2025
@Copilot Copilot bot review requested due to automatic review settings January 29, 2025 11:16
@jsuarezruiz jsuarezruiz requested a review from a team as a code owner January 29, 2025 11:16
@@ -1,4 +1,4 @@
#if IOS
#if IOS || MACCATALYST
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test enabled on Catalyst just to validate the changes added.

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (1)

src/TestUtils/src/UITest.Appium/Actions/AppiumCatalystSwipeActions.cs:9

  • Ensure that the new swipe actions (SwipeToRight and SwipeToLeft) are covered by relevant test cases.
protected override void SwipeToRight(AppiumDriver driver, AppiumElement? element, double swipePercentage, int swipeSpeed, bool withInertia = true)

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.

1 participant