A proof of concept to demonstrate how to use Microsoft Playwright Node.js automation tool to create e2e tests for Microsoft Power Apps.
- Automated Azure AD login
- Run multiple tests in single session
- Perform simple click actions
- Assert simple value changes after events
- Mock API requests
- Clone repository
npm install- Import
app\playwright.zipinto Power App environment - Set
APP_IDenvironment variable to AppId of imported Playwright Power App - Set
TEST_ACCOUNTenvironment variable with username of account to login with - Set
TEST_ACCOUNT_PWDenvironment variable with password of account to login with npm t
