From 25d25188de3dcb07ce1fa773e0edaa3e92763607 Mon Sep 17 00:00:00 2001 From: tryb3l <56679619+tryb3l@users.noreply.github.com> Date: Wed, 30 Oct 2024 16:01:21 +0100 Subject: [PATCH] modified webserver setup using latest stable version of node runner --- .github/workflows/playwright.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index a69c43e..34edfb7 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -28,8 +28,15 @@ jobs: - name: Install Playwright Browsers run: npx playwright install --with-deps + - name: Start Web Server + run: node --run start + working-directory: ./app + + - name: Wait for Web Server + run: npx wait-on http://localhost:4200 + - name: Run Playwright Tests - run: npm run test:e2e + run: node --run test:e2e - uses: actions/upload-artifact@v4 if: ${{ !cancelled() }}