Skip to content

Commit b9d5091

Browse files
committed
Testing Playwright tests on CI
1 parent c02ff29 commit b9d5091

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/rpe_test.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,16 @@ jobs:
8888
run: npm test
8989

9090
- name: E2E Playwright tests on Linux latest & MacOS
91-
if: ${{ matrix.os == 'ubuntu-latest' }}
92-
run: npm run compile && xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npx playwright test
91+
if: ${{ matrix.os == 'ubuntu-latest' }}
92+
run: |
93+
npm run compile
94+
npm start &
95+
sleep 5
96+
xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npx playwright test
97+
98+
# - name: E2E Playwright tests on Linux latest & MacOS
99+
# if: ${{ matrix.os == 'ubuntu-latest' }}
100+
# run: npm run compile && xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npx playwright test
93101

94102
- name: Run ESLint only on ubuntu-latest
95103
if: ${{ matrix.os == 'ubuntu-latest' }}

0 commit comments

Comments
 (0)