This repository contains automated tests for the SauceDemo e-commerce web application using Selenium with Python. The tests are written using the Pytest framework and include integration with a CI/CD pipeline and Allure for detailed test reporting.
- Overview
- Prerequisites
- Installation
- Running Tests
- Continuous Integration
- Allure Reports
- Project Structure
- Contributing
- License
Before you begin, ensure you have the following installed:
- Python 3.8 or higher
- pip (Python package installer)
-
Clone the repository:
git clone https://github.com/yourusername/saucedemo.git cd saucedemo -
Create a virtual environment and activate it:
python -m venv venv source venv/bin/activate -
Install the required dependencies:
pip install -r requirements.txt
To run the tests locally, use the following command:
pytest tests/main.py --alluredir=allure-results