diff --git a/.github/workflows/playwright.yaml b/.github/workflows/playwright.yaml index 34d347b1a..954072a6e 100644 --- a/.github/workflows/playwright.yaml +++ b/.github/workflows/playwright.yaml @@ -25,29 +25,12 @@ jobs: run: pwsh bin/Debug/net8.0/playwright.ps1 install --with-deps - name: Run your tests id: e2e - run: dotnet test --logger trx + run: dotnet test env: 'TestSettings:TEST_USERNAME': ${{ secrets.PLAYWRIGHT_USERNAME }} 'TestSettings:TEST_PASSWORD': '${{ secrets.PLAYWRIGHT_PASSWORD }}' 'TestSettings:TEST_TOTP_SECRET': ${{ secrets.PLAYWRIGHT_TOTP_SECRET }} 'TestSettings:TEST_BASE_URL': ${{ secrets.PLAYWRIGHT_BASE_URL }} - - name: Create html file - if: ${{ failure() && steps.e2e.conclusion == 'failure' }} - run: | - cd bin/Debug/net8.0/playwright-traces - my_string=$(echo *.zip) - IFS=' ' read -ra my_array <<< "$my_string" - result='
Steps: