Skip to content

UITests/DeviceTests TODOS  #15113

@rmarinho

Description

@rmarinho

Description

We are trying to get UI testing going here's some of what's left to do:

High priority

Pending

  • Use the Integration project to setup and start emulator
  • Add mechanism to only run tests on certain devices, not all
  • resolve issue with installing node
  • [UITest] Fix naming of test file on CI so we don't overwrite the files on attempts #16506
  • [UITests] Fix naming of UITests so we get more information than '_IsEnabled` etc... #16505
  • When running one test on a given platform it runs the same test on all platforms
  • fix iOS.cake script to detect if XCODE_PATH Exists and if it doesn't just use XCODE.App
    var XCODE_PATH = "/Applications/Xcode_14.3.0.app";
    currently when running device tests if you don't have the XCODE path set with the version suffix it won't run
  • Matt's extraction of DeviceTestRunners https://github.com/mattleibow/DeviceRunners
  • Manuel's xHarness work
  • Frequent Failures with trying to go back to test button
    • Test runner no longer completely fails but we would still like to figure out why these failures happen. We take a screen shot and log when this happens
  • Convert UITests to xunit so we are on the same testing stack everywhere
  • Add very basic sample of using Appium with the MAUI templated app. Setting up MAUI with Appium has a few small quirks, for example you have to set noREset to true on Android for it to work. Searching by AutomationId is different on Android vs iOS/catalyst. So the sample would be the most bare bones examples of appium working where it can click the button on the sample app. We won't wire up any of the server starting code we have in our tests. Users will need to install appium and start the server themselves.
  • Flesh out visual testing with Border components. Currently the visual testing features are very much tied to the machine. For example, we have to generate these on CI to get a testable image even though those won't now pass locally.

Low priority

  • Restructure directories
  • Update / finish doc
  • Make sure we are able to use the local and global workloads to run the tests

FINISHED

CUT

  • Try run the new test with appium against the Control Gallery

Metadata

Metadata

Labels

Taskneither bug nor feature but something that needs to be done in support of eitherarea-testingUnit tests, device tests

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions