1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-31 13:44:28 +03:00

Add custom reporter to auto-report flaky Playwright tests (#12290)

This commit is contained in:
Michael Telatynski
2024-02-28 13:02:09 +00:00
committed by GitHub
parent 2402cd59bc
commit 86469bdd32
2 changed files with 89 additions and 1 deletions

View File

@ -156,7 +156,10 @@ jobs:
merge-multiple: true
- name: Merge into HTML Report
run: yarn playwright merge-reports --reporter=html,github ./all-blob-reports
run: yarn playwright merge-reports --reporter=html,github,./playwright/flaky-reporter.ts ./all-blob-reports
env:
# Only pass creds to the flaky-reporter on main branch runs
GITHUB_TOKEN: ${{ github.event.workflow_run.head_branch == 'develop' && secrets.ELEMENT_BOT_TOKEN || '' }}
- name: Upload HTML report
uses: actions/upload-artifact@v4