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',