From b9d50919af1d5540ea8d12b1bc619308c38682f6 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 6 Nov 2024 07:01:41 -0800 Subject: [PATCH] Testing Playwright tests on CI --- .github/workflows/rpe_test.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rpe_test.yml b/.github/workflows/rpe_test.yml index d0b10a54..8809f248 100644 --- a/.github/workflows/rpe_test.yml +++ b/.github/workflows/rpe_test.yml @@ -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' }}