This is an extension for providing a user interface for writing UI Tests for Dynamics 365 Customer Engagement. It can capture your page actions and assist you in defining actions and assertions for your tests.
The test suite that you create can be exported (and imported again). In addition to this, the extension can create a fully functioning D365-UI-Test UI Test script, which you can use for executing directly in D365-UI-Test.
D365-UI-Test can be found here: https://github.com/XRM-OSS/D365-UI-Test There you can also find a reference to sample UI Test project, which you can use as base for pasting and running the exported auto generated UI Tests.
Get the extension from the official browser stores.
Download and bootstrap the Jest Demo repository: https://github.com/XRM-OSS/D365-UI-Test-Jest-Demo
Inside the ReadMe of the Jest Demo, there are instructions on how to get started. Don't forget to create the settings.txt file one folder above your repo with the D365 credentials
Create your tests and paste the created suite into the spec file of your Jest Demo. Run npm run test
for executing it.
D365-UI-Test is cross platform. You can run it on Windows, Linux, Mac and of course also on Azure or any other CI platform. For getting started as fast as possible, there is a fully functioning predefined yaml pipeline definition for Azure DevOps available in the documentation: https://xrm-oss.github.io/D365-UI-Test/pages/Tutorials/10_DevOps.html