A professional test automation framework for OrangeHRM using Playwright and Python.
- Create and activate virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install dependencies:
pip install -r requirements.txt- Install Playwright browsers:
playwright installRun all tests:
pytestRun specific test file:
pytest tests/test_login.pyRun smoke tests:
pytest -m smokeGenerate Allure report:
allure serve reports/allure-resultstests/: Test cases organized by featurepages/: Page Object Modelscomponents/: Reusable UI componentsutils/: Helper functions and configurationsreports/: Test execution reports and screenshots