https://github.com/garrytrinder/power-playwright
PoC to see how Microsoft Playwright Node.js automation tool can be used to test Microsoft Power Apps
https://github.com/garrytrinder/power-playwright
e2e-tests microsoft-power-apps powerapps ui-testing
Last synced: 8 months ago
JSON representation
PoC to see how Microsoft Playwright Node.js automation tool can be used to test Microsoft Power Apps
- Host: GitHub
- URL: https://github.com/garrytrinder/power-playwright
- Owner: garrytrinder
- Created: 2020-08-11T07:51:51.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-13T23:31:42.000Z (almost 6 years ago)
- Last Synced: 2024-12-06T22:39:44.251Z (over 1 year ago)
- Topics: e2e-tests, microsoft-power-apps, powerapps, ui-testing
- Language: JavaScript
- Homepage:
- Size: 25.3 MB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Power Playwright
A proof of concept to demonstrate how to use Microsoft Playwright Node.js automation tool to create e2e tests for Microsoft Power Apps.

## Features
- Automated Azure AD login
- Run multiple tests in single session
- Perform simple click actions
- Assert simple value changes after events
- Mock API requests
## Getting Started
- Clone repository
- `npm install`
- Import `app\playwright.zip` into Power App environment
- Set `APP_ID` environment variable to AppId of imported Playwright Power App
- Set `TEST_ACCOUNT` environment variable with username of account to login with
- Set `TEST_ACCOUNT_PWD` environment variable with password of account to login with
- `npm t`