Skip to content

Suzanskyi/Demo-Python-TA

Repository files navigation

🚀 SauceDemo Test Automation Project

📌 Overview

This is the test implementation of the Python test automaiton framework

This project automates testing for the SauceDemo e-commerce website using:
Python – for test scripting
Behave (BDD) – for structured, human-readable tests
Selenium WebDriver – for interacting with the web browser
Allure report – for nice and informative analyse

🛠️ What’s Covered?

  • 🔐 Login tests (different user types)
  • 🛍️ Browsing & sorting products
  • 🛒 Shopping cart functionality
  • 💳 Checkout process validation
  • 🔎 Product details page checks
  • 👥 Cross-user testing

My Assumptions

  1. The assignment task is relevant and highly engaging.
  2. Test scenarios are designed to uncover hidden failures, which is hidden from standard_user account. Automation detects this issues which is very important, not just create a blank framework which starts browsers sessions, clicks something and thats it.
  3. I have used openAI's chatgpt for consulting on errors I'm facing and to create this nice and informative Readme file
  4. While doing this test assigment I was dreaming to join the company
  5. American Buldog with ball found as well as price changes, UI glitches in visual_user, missing fields on checkout and cart icon on wrong place.

⚙️ Installation

1️⃣ Clone the Repository

git clone https://github.com/Suzanskiy/spriteCloud-TA
cd spriteCloud-TA

2️⃣ Set Up a Virtual Environment

python -m venv .venv
source .venv/bin/activate

3️⃣ Install Dependencies

pip install -r requirements.txt

🚀 Running Tests

behave

About

Test task for job, but got rejected without proper reason

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published