Skip to content

Commit 24727f2

Browse files
author
Indra Prajapati
committed
updated yml.
1 parent 278aa8d commit 24727f2

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,16 @@ jobs:
1919
run: npx playwright install --with-deps
2020
- name: Run Playwright tests
2121
run: npm test run
22+
- name: Store JUnit Report
23+
uses: actions/upload-artifact@v4
24+
with:
25+
name: junit-report
26+
path: reports/junit-report.xml
27+
- name: Publish Test Report
28+
ses: mikepenz/action-junit-report@v3
29+
with:
30+
report_paths: 'reports/junit-report.xml'
31+
- name: Detailed Report
2232
- uses: actions/upload-artifact@v4
2333
if: ${{ !cancelled() }}
2434
with:

playwright.config.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import { defineConfig } from '@playwright/test';
2+
3+
export default defineConfig({
4+
reporter: [['junit', { outputFile: 'reports/junit-report.xml' }]],
5+
use: {
6+
headless: true,
7+
},
8+
});

0 commit comments

Comments
 (0)