Professional automation testing framework for Farfetch's luxury e-commerce platform
Ensuring flawless user experiences in high-end fashion e-commerce
- 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.
Core Technologies
Supporting Tools
- Faker-js: Dynamic test data generation
- Stealth Playwright: Anti-detection mechanisms
- Allure Reports: Comprehensive test reporting
- Dotenv: Environment configuration
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 | โญโญโญโญ |
- Node.js โฅ 16.x
- npm โฅ 9.x
- Git
git clone https://github.com/Osama2262/Farfetch.git
cd Farfetch/tests
npm install