This project contains automated UI tests for the Mawrid application using Selenium WebDriver with Python.
- Install Python 3.x
- Install required packages:
pip install -r requirements.txtHTML reports are generated in the reports directory after test execution:
python -m pytest mawrid_admin/tests/ -v --html=report.html
python -m pytest mawrid_user/tests/ -v --html=report.html
python -m pytest mawrid_vendor/tests/ -v --html=report.html- Follow Page Object Model pattern
- Use explicit waits instead of implicit waits
- Keep tests independent
- Use meaningful test names
- Add proper assertions
- Handle exceptions appropriately
- Create a new branch for your changes
- Follow the existing code structure
- Add appropriate comments
- Update documentation as needed
- Create a pull request
- WebDriver compatibility issues
- Element not found exceptions
- Timing issues
- Browser differences