Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit c6f6f1d

Browse files
authored
Fix Playwright github reporter to run in the pull_request context once more (#12509)
Signed-off-by: Michael Telatynski <[email protected]>
1 parent eee0b2a commit c6f6f1d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/end-to-end-tests-netlify.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
merge-multiple: true
4242

4343
- name: Merge into HTML Report
44-
run: yarn playwright merge-reports --reporter=html,github,./playwright/flaky-reporter.ts ./all-blob-reports
44+
run: yarn playwright merge-reports --reporter=html,./playwright/flaky-reporter.ts ./all-blob-reports
4545
env:
4646
# Only pass creds to the flaky-reporter on main branch runs
4747
GITHUB_TOKEN: ${{ github.event.workflow_run.head_branch == 'develop' && secrets.ELEMENT_BOT_TOKEN || '' }}

playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export default defineConfig<TestOptions>({
4141
outputDir: "playwright/test-results",
4242
workers: 1,
4343
retries: process.env.CI ? 2 : 0,
44-
reporter: process.env.CI ? "blob" : [["html", { outputFolder: "playwright/html-report" }]],
44+
reporter: process.env.CI ? [["blob"], ["github"]] : [["html", { outputFolder: "playwright/html-report" }]],
4545
projects: [
4646
{
4747
name: "Legacy Crypto",

0 commit comments

Comments
 (0)