maui-linux/Xamarin.Forms.Core.Windows....
E.Z. Hart f1297f93d5 Re-enable "Treat warnings as errors" (#5602)
* Enable "treat warnings as errors"

* Remove unnecessary for loop

* Remove properties which already exist in base class

* Make property hiding explicit and obsolete hiding property

* Move Treat Warnings as Errors setting to props file

* Fix weird quotation changes in Xamarin.Forms.Build.Tasks.csproj

* Scrub empty WarningsAsErrors tags

* Remove unused variable

* Fix TearDown method hiding in UI tests

* Fix Id member hiding in test for Bugzilla32871

* Fix RootPage member hiding in Bugzilla51503

* Fix RooPage member hiding in Issue1483

* Disable warnings for deprecated OpenGL calls

* Fix member hiding in test view models

* Fix RootPage member hiding in Issue1931

* Fix Id member hiding in Bugzilla42620

* Fix AutomationId member hiding in Bugzilla57114

* Fix Layout member hiding in Bugzilla40911

* Remove unused variables from Bugzilla31114

* Remove unused variable

* Fix various unused variable warnings

* Disable warning to leave example code for reference

* Fix unused variable from macOS test

* Remove unused members

* Fix unused variable warnings

* Fixed unused property warnings

* Fix warnings for unused code

* Disable 'await' warning

* Remove unused variable

* Adding pragma directives for await warnings

* Remove member hiding

* Turn off global "Treat warnings as errors" in other platforms

* Use MarkerId instead of obsolete Id member

* Fix await warnings in WPF GeocoderBackend

* Add missing await

* Disable warning for unused event
2019-03-27 18:38:38 +00:00
..
Properties Initial import 2016-03-22 16:13:41 -07:00
WinDriverApp.cs Uwp restart uitests on crash (#5420) 2019-03-05 10:07:57 -08:00
WinQuery.cs Add more UWP automated testing capabilities (#1252) 2017-11-10 10:52:25 +00:00
WindowsTestBase.cs Uwp restart uitests on crash (#5420) 2019-03-05 10:07:57 -08:00
WindowsTestServer.cs Uwp restart uitests on crash (#5420) 2019-03-05 10:07:57 -08:00
Xamarin.Forms.Core.Windows.UITests.csproj Re-enable "Treat warnings as errors" (#5602) 2019-03-27 18:38:38 +00:00
app.config [All] Move to netstandard2.0 **Breaking change** (#1306) 2017-11-29 17:37:06 +00:00
readme.md Add more UWP automated testing capabilities (#1252) 2017-11-10 10:52:25 +00:00

readme.md

Running the UI Tests on UWP

To run the tests you'll need to install the latest release of WinAppDriver.

Make sure you've built and deployed the UWP version of ControlGallery on the machine where you're running the tests. Run WinAppDriver.exe (if you installed it in the default location, it will be "C:\Program Files (x86)\Windows Application Driver\WinAppDriver.exe").

With WinAppDriver running, start the tests with whatever test runner you normally use. The tests will take care of launching ControlGallery.

Now just sit back and watch the tests run. At the moment, WinAppDriver and our implementation of IApp for UWP have to take control of the mouse and keyboard to run these tests, so interacting with the test machine will probably interfere with the tests. (You may be able to work around this by running the tests in the Simulator; I've had mixed results and some blue screens when trying this, but good luck.)

Currently we can only run the tests against the desktop UWP application.