https://github.com/microsoft/easyrepro
Activity
devkeydet commentedon Nov 20, 2017
We already have automated ui testing in the reference app:
https://github.com/devkeydet/CrmAsyncRequestResponseSampleV2/tree/master/UIAutomationTests
However, there is a known issue with https://github.com/Microsoft/EasyRepro/ when executing a headless test with the phantomjs driver:
devkeydet/CrmAsyncRequestResponseSampleV2#23
See:
microsoft/EasyRepro#47
Once the issue is resolved, we'll update one of the release builds to show how to run the ui automation test.
devkeydet commentedon Nov 20, 2017
Two options:
-Spin up our own agent with a browser installed and use the browser driver (adds complexity)
-Wait until phantomjs is working
davidjbclark commentedon Mar 1, 2018
@devkeydet I believe there's another working option you can use today.
Microsoft.Dynamics365.UIAutomation.Browser.BrowserOptionsnow supports headless for Chrome, which works in a hosted build agent:Then in your build definition, just install Chrome before running your UI tests by running a PowerShell script task: