Skip to content

Commit

Permalink
Testing Playwright tests on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
shivaahir158 committed Nov 6, 2024
1 parent c02ff29 commit b9d5091
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/rpe_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,16 @@ jobs:
run: npm test

- name: E2E Playwright tests on Linux latest & MacOS
if: ${{ matrix.os == 'ubuntu-latest' }}
run: npm run compile && xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npx playwright test
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
npm run compile
npm start &
sleep 5
xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npx playwright test
# - name: E2E Playwright tests on Linux latest & MacOS
# if: ${{ matrix.os == 'ubuntu-latest' }}
# run: npm run compile && xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npx playwright test

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

0 comments on commit b9d5091

Please sign in to comment.