From 49c2c8d462710ec9b435108544d0959a1055c9c2 Mon Sep 17 00:00:00 2001 From: Adameddy26 <158989293+Adameddy26@users.noreply.github.com> Date: Fri, 14 Jun 2024 00:59:26 +0530 Subject: [PATCH] Update playwright.yml --- .github/workflows/playwright.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index cce99f48..4c43fcc4 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -24,15 +24,15 @@ jobs: - name: Install Playwright run: npx playwright install - - name: Run Playwright automation script - run: npx playwright test - env: - USERNAME: ${{ secrets.USERNAME }} - PASSWORD: ${{ secrets.PASSWORD }} - - name: Upload screenshot on error if: ${{ failure() }} uses: actions/upload-artifact@v2 with: name: error-screenshot path: error-screenshot-*.png + + - name: Run Playwright automation script + run: npx playwright test + env: + USERNAME: ${{ secrets.USERNAME }} + PASSWORD: ${{ secrets.PASSWORD }}