Skip to content

ivannamel/bookshelf-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📚 Bookshelf QA Automation Project

UI + API тесты для сайта DemoQA Book Store, написанные на Python с использованием Selenium, Pytest и Allure

📚 Bookshelf QA Automation Project

This project contains automated tests for the public demo site DemoQA Book Store.
It includes both UI and API tests using modern best practices: Page Object Model, Pytest fixtures, and Allure reporting.


🛠 Tech Stack

  • Python 3
  • Selenium — UI automation
  • Requests — API testing
  • Pytest — test framework
  • Allure — test reporting
  • Page Object Model (POM) — scalable UI test structure

📁 Project Structure

bookshelf-tests/
├── tests/
│   ├── api/                # API tests
│   └── ui/                 # UI tests
├── pages/                  # Page Object classes
├── utils/                  # Utilities (reserved for later)
├── conftest.py             # Pytest fixtures
├── requirements.txt
└── README.md

🚀 Getting Started

  1. Install dependencies python3 -m venv .venv source .venv/bin/activate pip install -r requirements.txt

  2. Run tests UI tests: pytest tests/ui/ --alluredir=allure-results API tests: pytest tests/api/ --alluredir=allure-results

  3. Generate Allure report allure serve allure-results

🎯 Example Tests

✅ API: Verify that a specific book (Git Pocket Guide) exists in the list.

🔍 UI: Search for a book title and validate that results contain the keyword.

🤝 Author: Ivanna Feel free to fork, explore, and contribute!

📸 Sample Allure Report

About

🧪 UI + API test DemoQA Book Store on Python, Selenium, Pytest и Allure

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages