/demo-eppc-2023-power-apps-and-playwright

Demo for the European Power Platform Conference in Dublin, June 2023.

Primary LanguageTypeScript

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

  1. 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
  2. Next, install dependencies including Playwright browsers.

    npm run setup
  3. Finally, run tests.

    npm run test