File tree Expand file tree Collapse file tree 1 file changed +37
-1
lines changed
Expand file tree Collapse file tree 1 file changed +37
-1
lines changed Original file line number Diff line number Diff line change 1- # playwright-saucedemo-tests
1+ # Playwright SauceDemo Tests
2+
3+ UI and API automation tests for [ SauceDemo] ( https://www.saucedemo.com/ ) using ** Playwright + TypeScript** .
4+ The project follows the ** Page Object Model (POM)** pattern and covers core e-commerce scenarios.
5+
6+ ## 🛠 Tech Stack
7+
8+ - [ Playwright] ( https://playwright.dev/ ) (TypeScript)
9+ - Page Object Model (POM)
10+ - Allure Report (planned)
11+ - GitHub Actions (CI/CD)
12+
13+ ## 📂 Project Structure
14+
15+ tests/ # Test cases
16+
17+ pages/ # Page Object Model classes
18+
19+ utils/ # Helpers and test data
20+
21+ fixtures/ # Custom Playwright fixtures
22+
23+ reports/ # Reports (Allure)
24+
25+ ## 🚀 How to Run Tests
26+ ``` bash
27+ # Install dependencies
28+ npm install
29+
30+ # Run all tests
31+ npx playwright test
32+
33+ # Run with UI browser
34+ npx playwright test --headed
35+
36+ # Run a specific test file
37+ npx playwright test tests/login.spec.ts
You can’t perform that action at this time.
0 commit comments