Creating test plans with YAML
Assuming you have followed the guidelines outlined in Chapter 5, you should now have the Gallery with Contacts application that we created – alternatively, you can find the solution with the application and the data to import in the GitHub repository for this book (https://github.com/PacktPublishing/Automate-Testing-for-Power-Apps/tree/main/chapter-07). This application features a gallery that draws its data from the contacts
table and is designed to resemble Figure 7.15.
Figure 7.15 – Sample application with Gallery control and contacts table
Now, we will construct a new YAML file that outlines the necessary steps to do the following:
- Generate an initial screenshot displaying the first element.
- Navigate to the fifth element, verify that the associated email address matches our expectations (in our case, it’s
gisela.schmidt@acme.com
, but bear in mind that this might differ if you have not imported...