Skip to content

[Testing] Implement Appium swipe action on Catalyst using the Mac Driver#27441

Merged
PureWeen merged 4 commits into
mainfrom
uitest-swipe-mac-actions
Feb 6, 2025
Merged

[Testing] Implement Appium swipe action on Catalyst using the Mac Driver#27441
PureWeen merged 4 commits into
mainfrom
uitest-swipe-mac-actions

Conversation

@jsuarezruiz

@jsuarezruiz jsuarezruiz commented Jan 29, 2025

Copy link
Copy Markdown
Contributor

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 AI 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
Copy Markdown
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.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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)

@jsuarezruiz

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 3 pipeline(s).

@PureWeen PureWeen merged commit acd837d into main Feb 6, 2025
@PureWeen PureWeen deleted the uitest-swipe-mac-actions branch February 6, 2025 20:19
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-testing Unit tests, device tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants