This app shows how to implement UITest and Unit Tests into a Xamarin.Forms project.
The UITests follow the recommended practice of Page Object testing. In the views, we've added an AutomationId
to each control to show how UITest can interact with controls most efficiently, using their AutomationId.
It demonstrates how to utilize Backdoors in UITest to bypass a login screen, improving the speed of the tests.
It also demonstrates how to utilize [App Links] (https://blog.xamarin.com/deep-link-content-with-xamarin-forms-url-navigation/) in UITesting to navigate quickly to the page under test. App Links is initialized and executed in the source code for the app in App.cs. The UITest SelectItemOnListView
uses a backdoor method to execute the App Links.
The login page leverages the Reusable Login Page created by Michael Watson.
Brandon Minnick
Xamarin Customer Success Engineer