-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 #25711
[Testing] Enabling ported UITests from Xamarin.UITests to Appium #25711
Conversation
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. |
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Bugzilla/Bugzilla43161.cs
Show resolved
Hide resolved
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/XFIssue/Issue12246.cs
Show resolved
Hide resolved
[Category(UITestCategories.Compatibility)] | ||
[FailsOnAndroidWhenRunningOnXamarinUITest] | ||
[FailsOnIOSWhenRunningOnXamarinUITest] | ||
[FailsOnMacWhenRunningOnXamarinUITest] | ||
public void VerifyNestedStacklayoutTapsBubble() | ||
{ | ||
App.WaitForElement(InnerLayout); | ||
App.Tap(InnerLayout); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Methods like WaitForElement
or Tap
for example, search first by AutomationId and if don't find the element, make a query using XPath searching by content (text etc). In principle, it shouldn't be necessary to modify the test example by adding AutomationIds for it to work.
On the other hand, using AutomationId is more efficient than queries, so it's a good practice.
@dotnet-policy-service agree |
/rebase |
b75beb1
to
b892859
Compare
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
|
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.
TestCases