European Power Platform Conference 2023 - Power Apps and Playwright
Sample project that tests a slightly customized version of the sample Asset Checkout Power App using Playwright, and end-to-end testing framework from Microsoft.
Run the tests
-
First, set the required environment variables on the system that will be running the tests, e.g. your local machine or the continuous integration server.
Key Value ASSET_CHECKOUT_APP_URL Your asset checkout app URL ASSET_ADMIN_EMAIL Your test users email ASSET_ADMIN_PASSWORD Your test users password ASSET_MANAGER_EMAIL Your test users email ASSET_MANAGER_PASSWORD Your test users password -
Next, install dependencies including Playwright browsers.
npm run setup
-
Finally, run tests.
npm run test