Skip to content

Commit c595c10

Browse files
authored
Update rpe_test.yml to use marketplace action to run headless mode
1 parent c90477d commit c595c10

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/rpe_test.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,12 @@ jobs:
9292
run: npm test
9393

9494
- name: E2E Playwright tests on Linux latest & MacOS
95-
if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'macos-12' }}
96-
run: npm run compile && xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npx playwright test
95+
if: ${{ matrix.os == 'ubuntu-latest' }}
96+
uses: coactions/[email protected]
97+
with:
98+
run: npm run compile && npx playwright test
99+
# if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'macos-12' }}
100+
# run: && xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" --
97101

98102
- name: Install packages CentOS 7 & Run pytest & frontend test
99103
if: ${{ matrix.os == 'ubuntu-22.04' }}

0 commit comments

Comments
 (0)