From 5679bad048984790d61b9f96bedb22ade7dae145 Mon Sep 17 00:00:00 2001 From: Bastien Date: Wed, 14 Aug 2024 15:32:09 +0200 Subject: [PATCH] Initialisation Playwright --- .github/workflows/playwright.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 51e0ec4..6df95fe 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -40,12 +40,19 @@ jobs: - name: Execution des tests Playwright run: npx playwright test env: - BASE-URL: ${{ steps.vercel_preview_url.outputs.preview_url }} - - name: Mise à disposition des artefacts + BASE_URL: ${{ steps.vercel_preview_url.outputs.preview_url }} + - name: Mise à disposition des traces uses: actions/upload-artifact@v4 if: always() with: - name: playwright-report + name: Traces path: playwright-report/ - retention-days: 30 + retention-days: 7 + - name: Mise à disposition du rapport + uses: actions/upload-artifact@v4 + if: always() + with: + name: Rapport de tests + path: playwright-report/index.html + retention-days: 7