From c2e17b71a08a8ca8a09cc7b9436d1c9398fdf459 Mon Sep 17 00:00:00 2001 From: michael1011 Date: Thu, 1 Aug 2024 10:50:44 +0200 Subject: [PATCH] actually run frontend --- .github/workflows/playwright.yml | 7 ++++--- playwright.config.ts | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 812d916a..341a0b23 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -18,12 +18,13 @@ jobs: run: git submodule init && git submodule update && chmod -R 777 regtest && cd regtest && ./start.sh - name: Install dependencies run: npm ci - - name: Start web app - run: npm run start & - name: Install Playwright Browsers run: npx playwright install --with-deps - name: Run Playwright tests - run: npx playwright test + run: | + npm run start & + sleep 10 + npx playwright test - uses: actions/upload-artifact@v4 if: always() with: diff --git a/playwright.config.ts b/playwright.config.ts index b5a4d554..88dcf594 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -26,6 +26,7 @@ export default defineConfig({ use: { /* Base URL to use in actions like `await page.goto('/')`. */ // baseURL: 'http://127.0.0.1:3000', + ignoreHTTPSErrors: true, /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */ trace: 'on-first-retry',