You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/bin/bash -c "chmod +x ./run-with-params.sh && npm run test:allure"
33
58
34
-
- name: Install Allure CLI
35
-
run: npm install -g allure-commandline --save-dev
59
+
- name: Copy Allure report
60
+
run: |
61
+
docker cp temp-runner:/app/allure-report ./allure-report || echo "No allure-report found"
62
+
docker cp temp-runner:/app/playwright-report/enriched-test-results.json ./playwright-report/enriched-test-results.json || echo "No enriched result found"
# 🎭 Playwright Test Automation Framework (TypeScript)
3
2
4
-
This is a robust end-to-end Test Automation Framework built using **Playwright** and **TypeScript**. It supports cross-browser testing, rich reporting using **Allure**, and integrates seamlessly with **GitHub Actions CI/CD pipelines**.
3
+
A robust end-to-end Test Automation Framework built with **Playwright** and **TypeScript**.
4
+
Supports cross-browser testing, rich reporting with **Allure**, Dockerized execution, and seamless CI/CD via **GitHub Actions** with Allure report publishing to GitHub Pages.
5
5
6
6
---
7
7
@@ -13,15 +13,20 @@ This is a robust end-to-end Test Automation Framework built using **Playwright**
13
13
-[Logger Utility](docs/logger.md)
14
14
-[Allure Helper](docs/allureHelper.md)
15
15
-[Playwright Config](docs/playwright-config.md)
16
+
-[CICD](docs/CICD.md)
17
+
18
+
---
16
19
17
20
## 🚀 Features
18
21
19
22
- ✅ TypeScript-based Playwright tests
20
-
- ✅ Page Object Model (POM)
23
+
- ✅ Page Object Model (POM) for maintainability
21
24
- ✅ Parallel execution
22
25
- ✅ Cross-browser support (Chromium, Firefox, WebKit)
23
-
- ✅ Allure reporting
24
-
- ✅ CI/CD via GitHub Actions
26
+
- ✅ Allure reporting (HTML, CI artifacts, and GitHub Pages)
27
+
- ✅ Docker support for consistent CI/CD runs
28
+
- ✅ CI/CD via GitHub Actions (with Docker)
29
+
- ✅ GitHub Pages publishing for Allure reports
25
30
26
31
---
27
32
@@ -31,23 +36,48 @@ This is a robust end-to-end Test Automation Framework built using **Playwright**
31
36
# Install dependencies
32
37
npm ci
33
38
34
-
# Run all Playwright tests
35
-
npx playwright test
39
+
# Install Playwright browsers
40
+
npx playwright install
41
+
42
+
# Run all Playwright tests (headless)
43
+
npm test
36
44
37
45
# Run in headed mode
38
-
npx playwrighttest --headed
46
+
npm run test:headed
39
47
40
48
# Generate Allure report
41
49
npm run allure:generate
42
50
43
51
# Open Allure report in browser
44
52
npm run allure:open
45
-
````
53
+
```
54
+
55
+
---
46
56
47
-
> Make sure Playwright browsers are installed:
57
+
## 🐳 Running Tests in Docker
58
+
59
+
Build and run tests in a Docker container (as in CI):
0 commit comments