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] Enabling ported UITests from Xamarin.UITests to Appium - 20 #26142

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

Conversation

anandhan-rajagopal
Copy link
Contributor

Description of Change

This PR focuses on re-enabling and updating following tests from the Xamarin.UITest framework to be compatible with Appium. The tests, previously commented out, are reviewed, and modified to ensure they are functional with the Appium framework. We are going to enable tests in blocks in different PRs. This is the 20th group of tests enabled.

TestCases

  • Issue2927
  • Bugzilla26171
  • Issue8461
  • Issue8291
  • Issue8279

* Migrated Appium for the Issues : Issue2927, Bugzilla26171 , Issue8279 , Issue8291 and Issue8461

* Updated the migrated code changes

* Updated the migrated test result files

* reverted unwanted changes

* Updated the fieldname

* Updated the comments

---------

Co-authored-by: Harish <[email protected]>
@anandhan-rajagopal anandhan-rajagopal requested a review from a team as a code owner November 27, 2024 06:15
@dotnet-policy-service dotnet-policy-service bot added the community ✨ Community Contribution label Nov 27, 2024
Copy link
Contributor

Hey there @anandhan-rajagopal! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

@anandhan-rajagopal anandhan-rajagopal added the area-testing Unit tests, device tests label Nov 27, 2024
@jsuarezruiz
Copy link
Contributor

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@@ -1,4 +1,5 @@
using NUnit.Framework;
#if TEST_FAILS_ON_CATALYST // TouchAndHold not supported on Mac, Also using LongPress is not applicable on this case, while LongPress does not open the context menu for Entry/Editor control.
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you try to use App.RightClick?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jsuarezruiz , When manually testing the sample, right-clicking opens the context menus. However, during automation, while the App.RightClick function executes, the context menu does not appear. Nonetheless, the test passes because the copy, paste, and edit buttons are accessible in the macOS app menu bar. I have attached video for reference, can you please take a look and share your suggestions.
Mannual Test:

image

Automation Test:

Screen.Recording.2024-11-27.at.4.30.10.PM.mov

@rmarinho
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

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 community ✨ Community Contribution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants