diff --git a/.github/workflows/playwright-test-workflow.yml b/.github/workflows/playwright-test-workflow.yml index c081910a21..7938de59e8 100644 --- a/.github/workflows/playwright-test-workflow.yml +++ b/.github/workflows/playwright-test-workflow.yml @@ -98,6 +98,14 @@ jobs: working-directory: ./tests/playwright run: E2E_DB_TYPE=${{ inputs.db }} npm run ci:test:shard:${{ inputs.shard }} + # Stress test added/modified tests + - name: Fetch develop branch + working-directory: ./tests/playwright + run: git fetch origin develop + - name: Stress test + working-directory: ./tests/playwright + run: E2E_DB_TYPE=${{ inputs.db }} ./scripts/stressTestNewlyAddedTest.js + # Quick tests (pg on sqlite shard 0 and sqlite on sqlite shard 1) - name: Run quick server and tests (pg) if: ${{ inputs.db == 'sqlite' && inputs.shard == '1' }} @@ -139,6 +147,12 @@ jobs: name: playwright-report-${{ inputs.db }}-${{ inputs.shard }} path: ./tests/playwright/playwright-report/ retention-days: 2 + - uses: actions/upload-artifact@v3 + if: always() + with: + name: playwright-report-stress-${{ inputs.db }}-${{ inputs.shard }} + path: ./tests/playwright/playwright-report-stress/ + retention-days: 2 - uses: actions/upload-artifact@v3 if: always() with: