Skip to content

Commit

Permalink
Update UITesting.md (#21815)
Browse files Browse the repository at this point in the history
  • Loading branch information
PureWeen authored Apr 13, 2024
1 parent aea8fcf commit d9226a5
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions docs/design/UITesting.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ Then in the Controls.AppiumTests project add a new class that derives from `_Iss

You can use the example for the sample project [here](https://github.com/dotnet/maui/blob/main/src/Controls/samples/Controls.Sample.UITests/Issues/RefreshViewPage.cs) and the example for the corresponding test [here](https://github.com/dotnet/maui/tree/main/src/Controls/tests/UITests/Tests/Issues/RefreshViewTests.cs).




### Adding a GalleryPage

Gallery tests are to make it easier to run the same set of tests on controls, if you are creating a new control you would want to add a new gallery page.
Expand Down Expand Up @@ -81,13 +78,7 @@ Assert.IsTrue(text.StartsWith("Logging in", StringComparison.CurrentCulture));
```

## Running tests

Please see the [wiki](https://github.com/dotnet/maui/wiki/UITests) for setting up/running tests.


## Adding new functionality

We are implementing the IApp interface from Xamarin UITests, the implementation of which is [here](https://github.com/dotnet/maui/blob/main/src/TestUtils/src/TestUtils.Appium.UITests/AppiumUITestApp.cs).

## Known Issues
- iOS doesn't support nested accessibility elements which will make some elements unreachable
- iOS doesn't support nested accessibility elements which will make some elements unreachable

0 comments on commit d9226a5

Please sign in to comment.