- NodeJS >=14
- Java >=8 to genarate allure reports
- Allure command line tools to see reports
- from the root folder please run
npm install
npx playwright install --with-deps
- To execute tests on chrome
npx playwright test --project=Chromium
- To execute tests on firefox
npx playwright test --project=Firefox
- To execute tests on safari
npx playwright test --project=Webkit
- To generate HTML report
allure serve allure-results
- Navigate to https://github.com/sekharsdet/web-ui-testing/actions
- Click on the Playwright Tests Work Flow
- Open any green workflow runner and see Run Tests Job
Example : https://github.com/sekharsdet/api-tests/runs/6674266671?check_suite_focus=true
Tests are located at web-ui-testing\tests\verifyDepartments.spec.js
- NodeJS
- playwright
- Allure report
- GitHub Actions