Skip to content

Commit ae52267

Browse files
authoredMar 11, 2025··
chore(tests): remove e2e-ct report (#8885)
1 parent 6ed87ce commit ae52267

File tree

5 files changed

+1
-388
lines changed

5 files changed

+1
-388
lines changed
 

‎.github/workflows/e2e-ct.yml

-14
Original file line numberDiff line numberDiff line change
@@ -222,20 +222,6 @@ jobs:
222222
# Get the first run's ID even though it might be correct it should bring to the right place
223223
job_name: "playwright-ct-test (chromium, 1, 2)"
224224

225-
- name: Parse playwright report
226-
id: parse-playwright-report
227-
if: always()
228-
run: pnpm --filter sanity write:playwright-report-as-pr-comment
229-
env:
230-
GITHUB_WORKFLOW_URL: "${{ steps.job_html_url.outputs.html_url }}"
231-
232-
- name: PR comment with report
233-
uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6 # v2
234-
if: ${{ always() && steps.parse-playwright-report.conclusion == 'success' && github.event_name == 'pull_request' }}
235-
with:
236-
comment_tag: "playwright-ct-report"
237-
filePath: ${{ github.workspace }}/packages/sanity/playwright-ct/playwright-ct-report/playwright-report-pr-comment.md
238-
239225
- uses: actions/upload-artifact@v4
240226
if: always()
241227
with:

‎packages/sanity/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,7 @@
146146
"prepublishOnly": "turbo run build",
147147
"test": "vitest run",
148148
"test:ct": "rimraf playwright-ct/template/.cache && playwright test -c playwright-ct.config.ts",
149-
"watch": "pkg-utils watch",
150-
"write:playwright-report-as-pr-comment": "node -r esbuild-register playwright-ct/scripts/parsePlaywrightReportJson.ts"
149+
"watch": "pkg-utils watch"
151150
},
152151
"dependencies": {
153152
"@dnd-kit/core": "^6.0.5",

‎packages/sanity/playwright-ct/scripts/parsePlaywrightReportJson.ts

-50
This file was deleted.

‎packages/sanity/playwright-ct/scripts/types.ts

-147
This file was deleted.

‎packages/sanity/playwright-ct/scripts/utils.ts

-175
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.