Skip to content

Commit e49edf0

Browse files
committed
2 parents 7722bbb + 54b9f4e commit e49edf0

File tree

1 file changed

+37
-1
lines changed

1 file changed

+37
-1
lines changed

README.md

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,37 @@
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

0 commit comments

Comments
 (0)