Skip to content

Migrate legacy UI tests to Appium #20245

@jfversluis

Description

@jfversluis

To be more aligned with our current/new UI tests, we want to migrate our legacy tests also to Appium. Below are the (rough) steps outlined to achieve that.

  • Setup a new space for legacy tests based on appium
    This would basically be a complete replica of our current appium testing because that already models the gallery (we could probably generalize out this library a bit). Would it make sense to just split up our current Appium tests? Test Explorer doesn't really work very well with our single project concept. We could then just put them all into the current runner and just into a different category.
  • For this project though we'd use separate project heads for the testing frameworks so we can if/def like we have in legacy
  • Copy the entire shared "Issues" folder into one of the projects
    maui/src/Compatibility/ControlGallery/src/Issues.Shared at main · dotnet/maui (github.com)
  • Add that folders with a glob pattern to the other project
  • And now starting changing the APIs over to the new Appium APIs we have
  • Investigate [UITEST] Investigate a way to reset the app under test for each test run with Appium #19073 . Currently the appium tests run 131 tests in 90 minutes and Xamarin.UITest runs our gallery of 530 tests in 120 minutes
  • Look at adding Categories so we can parallelize the test runs for groups of tests

Metadata

Metadata

Labels

Taskneither bug nor feature but something that needs to be done in support of eitherarea-testingUnit tests, device testsfixed-in-8.0.80fixed-in-9.0.0-rc.1.24453.9testing-legacy-ui-testsIssues/PRs that are associated with transitioning our legacy UI Tests to Appium

Type

No type
No fields configured for issues without a type.

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions