https://github.com/osama2262/farfetch
This repository contains an ๐ฎ๐๐๐ผ๐บ๐ฎ๐๐ฒ๐ฑ ๐๐ฒ๐๐๐ถ๐ป๐ด ๐ณ๐ฟ๐ฎ๐บ๐ฒ๐๐ผ๐ฟ๐ธ built using ๐ฃ๐น๐ฎ๐๐๐ฟ๐ถ๐ด๐ต๐, tailored for Farfetch, a leading luxury e-commerce platform. The framework ensures high-quality user experiences by automating end-to-end tests for seamless shopping workflows.
https://github.com/osama2262/farfetch
automation farfetch playwright pom practice-project software-testing test test-automation testing
Last synced: about 1 year ago
JSON representation
This repository contains an ๐ฎ๐๐๐ผ๐บ๐ฎ๐๐ฒ๐ฑ ๐๐ฒ๐๐๐ถ๐ป๐ด ๐ณ๐ฟ๐ฎ๐บ๐ฒ๐๐ผ๐ฟ๐ธ built using ๐ฃ๐น๐ฎ๐๐๐ฟ๐ถ๐ด๐ต๐, tailored for Farfetch, a leading luxury e-commerce platform. The framework ensures high-quality user experiences by automating end-to-end tests for seamless shopping workflows.
- Host: GitHub
- URL: https://github.com/osama2262/farfetch
- Owner: Osama2262
- Created: 2025-01-31T17:27:39.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-08T04:35:25.000Z (about 1 year ago)
- Last Synced: 2025-02-08T05:19:39.299Z (about 1 year ago)
- Topics: automation, farfetch, playwright, pom, practice-project, software-testing, test, test-automation, testing
- Language: JavaScript
- Homepage: https://farfetch.com/
- Size: 11 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Farfetch E-Commerce Automation Testing Suite ๐
[](https://playwright.dev/)
[](https://developer.mozilla.org/en-US/docs/Web/JavaScript)
**Professional automation testing framework for Farfetch's luxury e-commerce platform**
*Ensuring flawless user experiences in high-end fashion e-commerce*
## ๐ Key Features
- **Real-world scenario testing** on production environment
- **Anti-bot bypass** implementation using stealth techniques
- **Cross-browser testing** (Chromium, Firefox, WebKit)
- **Stateful sessions** with storage state management
- **CI/CD ready** with GitHub Actions integration
## ๐ ๐๐ฆ๐ด๐ต ๐๐ข๐ด๐ฆ๐ด ๐๐ถ๐ต๐ฐ๐ฎ๐ข๐ต๐ฆ๐ฅ:
1๏ธโฃ ๐๐ผ๐ด๐ถ๐ป: The user can successfully log in with valid credentials.
2๏ธโฃ ๐๐ฑ๐ฑ ๐๐ผ ๐๐ฎ๐ฟ๐: Added random items to the cart.
3๏ธโฃ ๐๐ต๐ฎ๐ป๐ด๐ฒ ๐๐๐ฒ๐บ ๐ฆ๐ถ๐๐ฒ: Tested changing the item size from the cart.
4๏ธโฃ ๐๐ต๐ฎ๐ป๐ด๐ฒ ๐๐๐ฒ๐บ ๐ค๐๐ฎ๐ป๐๐ถ๐๐: Validated the ability to change the quantity of an item in the cart.
5๏ธโฃ ๐ฅ๐ฒ๐บ๐ผ๐๐ฒ ๐๐๐ฒ๐บ๐ ๐ณ๐ฟ๐ผ๐บ ๐๐ต๐ฒ ๐๐ฎ๐ฟ๐: Ensured that users can remove all items from the cart.
6๏ธโฃ ๐๐ฑ๐ฑ ๐๐ผ ๐ช๐ถ๐๐ต๐น๐ถ๐๐: Verified adding items to the wishlist.
7๏ธโฃ ๐ฅ๐ฒ๐บ๐ผ๐๐ฒ ๐๐๐ฒ๐บ๐ ๐ณ๐ฟ๐ผ๐บ ๐๐ต๐ฒ ๐ช๐ถ๐๐ต๐น๐ถ๐๐: Ensured that users can remove all items from the wishlist.
## ๐ ๏ธ Tech Stack
**Core Technologies**
|  |  |  |
|-------------------------------------------------------------------------------|------------------------------------------------------------------------------|----------------------------------------------------------|
**Supporting Tools**
- **Faker-js**: Dynamic test data generation
- **Stealth Playwright**: Anti-detection mechanisms
- **Allure Reports**: Comprehensive test reporting
- **Dotenv**: Environment configuration
## ๐งช Automated Test Scenarios
| Flow | Description | Complexity Level |
|---------------------|----------------------------------------------|------------------|
| **User Auth** | Valid/invalid login scenarios | โญโญ |
| **Cart Management** | Add/remove items, quantity/size changes | โญโญโญโญ |
| **Wishlist Flow** | Add/remove from wishlist | โญโญโญ |
| **Session State** | Persistent user state management | โญโญโญโญ |
## ๐ Getting Started
### Prerequisites
- Node.js โฅ 16.x
- npm โฅ 9.x
- Git
### Installation
```bash
git clone https://github.com/Osama2262/Farfetch.git
cd Farfetch/tests
npm install