diff --git a/frontend/xfd_playwright/.github/workflows/playwright.yml b/frontend/xfd_playwright/.github/workflows/playwright.yml index 700c871a..41ea832b 100644 --- a/frontend/xfd_playwright/.github/workflows/playwright.yml +++ b/frontend/xfd_playwright/.github/workflows/playwright.yml @@ -2,13 +2,15 @@ name: Playwright Tests on: push: - branches: [main, master] + branches: [develop] pull_request: - branches: [main, master] + branches: [develop] jobs: test: timeout-minutes: 60 runs-on: ubuntu-latest + container: + image: mcr.microsoft.com/playwright:v1.42.1-jammy steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 @@ -16,13 +18,7 @@ jobs: node-version: 18 - name: Install dependencies run: npm ci - - name: Install Playwright Browsers - run: npx playwright install --with-deps - - name: Run Playwright tests + - name: Run your tests run: npx playwright test - - uses: actions/upload-artifact@v3 - if: always() - with: - name: playwright-report - path: playwright-report/ - retention-days: 30 + env: + HOME: /root