This repo is a playwright test project for Avantos employment assesment.
This project automates UI and API testing using Playwright, with organized test suites and page object model architecture.
tests/- Test suites (UI and API)pom/- Page Object Model classesfixtures/- Custom hooks and fixturesutils/- Utility functionstest-data/- Test data for steps and assertions
- Install dependencies:
npm install - Install Playwright browsers:
npx playwright install
- Run all tests:
npm test - Run UI tests:
npx playwright test tests/ui-tests/ - Run API tests:
npx playwright test tests/api-tests/ - View report:
npx playwright show-report