Skip to content
This repository was archived by the owner on Jan 28, 2026. It is now read-only.

Commit 1f85c10

Browse files
committed
optimize test
1 parent d1b50bf commit 1f85c10

3 files changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/releasetest_sep.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
# Run Playwright with PR-vs-Main comparison
2424
- name: GUI Test – Playwright only
25-
uses: DigitalProductInnovationAndDevelopment/Code-Reviews-of-GUI-Tests@v1.2.6
25+
uses: DigitalProductInnovationAndDevelopment/Code-Reviews-of-GUI-Tests@v1.2.2
2626
with:
2727
github-token: ${{ secrets.GITHUB_TOKEN }}
2828
mode: test-only
@@ -79,7 +79,7 @@ jobs:
7979
- run: npm install
8080

8181
- name: GUI Test – Lint only
82-
uses: DigitalProductInnovationAndDevelopment/Code-Reviews-of-GUI-Tests@v1.2.6
82+
uses: DigitalProductInnovationAndDevelopment/Code-Reviews-of-GUI-Tests@v1.2.2
8383
with:
8484
github-token: ${{ secrets.GITHUB_TOKEN }}
8585
mode: lint-only
@@ -158,7 +158,7 @@ jobs:
158158
# Build dashboard, post comment, deploy Pages
159159
- id: review
160160
name: Dashboard / PR comment / Pages
161-
uses: DigitalProductInnovationAndDevelopment/Code-Reviews-of-GUI-Tests@v1.2.6
161+
uses: DigitalProductInnovationAndDevelopment/Code-Reviews-of-GUI-Tests@v1.2.2
162162
with:
163163
github-token: ${{ secrets.GITHUB_TOKEN }}
164164
mode: dashboard-only

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.test-history.json
2+
artifacts/
3+
test-results/

playwright.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ module.exports = defineConfig({
44
testDir: './tests',
55
use: {
66
headless: true,
7-
screenshot: 'on',
8-
trace: 'on',
7+
screenshot: 'only-on-failure',
8+
trace: 'on-first-retry',
99
video: 'off',
1010
ignoreHTTPSErrors: true,
1111
},

0 commit comments

Comments
 (0)