dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.26k stars 1.76k forks source link

[Testing] Enabling ported UITests from Xamarin.UITests to Appium - 16 #26029

Open anandhan-rajagopal opened 8 hours ago

anandhan-rajagopal commented 8 hours ago

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 16th group of tests enabled.

Add WaitForElementTillPageNavigationSettled Extension Method

Description

Also introduces a new extension method WaitForElementTillPageNavigationSettled to enhance the stability of UI tests, particularly for MacCatalyst applications. The method provides a more robust way to wait for elements during page transitions, helping to prevent null reference exceptions.

TestCases

rmarinho commented 8 hours ago

/azp run

azure-pipelines[bot] commented 8 hours ago
Azure Pipelines successfully started running 3 pipeline(s).