-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Automate Testing for Power Apps
By :
To conduct testing on the UserCard component using Test Engine, we must first configure the testing environment.
Modify the config.dev.json file with the appropriate values for your testing environment. This includes environmentId, tenantId, outputDirectory, and, of course, the path to the YAML file containing the test suite, as shown in Figure 9.7:
Figure 9.7 – The config.dev.json file for testing the Canvas component
Note
Remember, the config.dev.json file should be located in the same folder where the TestEngine command is being executed.
Construct a test suite for the UserCard component. This suite will include a test case for altering the UserCard’s status and userrole properties.
The goal is to demonstrate that, with TestEngine, we can test canvas components. We can apply this pattern in a canvas app that includes a canvas...