Playwright is a framework for web application end-to-end (e2e) testing.
When to use e2e tests vs unit tests:
- Test functionality that cannot be tested with the unit test mocking APIs
- Test multi window interaction
- Set
BE_TEST_AAD_USER_EMAILwith the user email - Set
BE_TEST_AAD_USER_PASSWORDwith the user password
Build the executable
npm run build-and-packnpm run test-e2e
# Run Playwright in debug mode to step through tests
npm run test-e2e:debugEnd-to-end tests are in the test/e2e directory
- Currently doesn't test the final built package, but rather the stock Electron executable.