lohani-mohit/Playwright Report Publisher

Merge Playwright shard reports and publish to GCS, Slack, and GitHub PR comments

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
working-directoryWorking directory containing Playwright testsnotests
report-directoryDirectory containing the Playwright HTML report (used when merge-blob-reports is false)noplaywright-report
merge-blob-reportsWhether to merge sharded blob reports into HTML + JSON before publishingnofalse
blob-report-pathPath to blob reports directory (relative to working-directory). Used when merge-blob-reports is truenoall-blob-reports
suite-nameName of the test suite (shown in Slack, PR comments, and step summary)noPlaywright
test-statusTest result status: 'passed', 'failed', or 'cancelled'. Auto-detected from report if not providedno""
upload-to-gcsWhether to upload the HTML report to GCSnotrue
gcs-bucketGCS bucket name (without gs:// prefix)no""
gcs-path-prefixPath prefix within the GCS bucket. Final path: {prefix}/{timestamp}/notest-report
environmentEnvironment name (appended to GCS path: {prefix}-{env}/{timestamp}/)nodev
gcp-sa-keyGCP service account key (JSON) for GCS uploadsno""
gcp-project-idGCP project IDno""
report-base-urlCustom base URL for report links (e.g. https://reports.example.com). Defaults to https://storage.googleapis.com/{gcs-bucket}no""
post-toWhere to post results: 'github', 'slack', 'both', or 'none'noboth
slack-notifyWhen to send Slack alerts: 'always', 'on-failure', 'on-success', 'never'noalways
slack-webhook-urlSlack incoming webhook URLno""
github-tokenGitHub token for PR commentsno${{ github.token }}
github-step-summaryWhether to write a GitHub Actions step summarynotrue
namedescription
report-urlURL to the published Playwright report
test-statusStatus of the tests (passed/failed/cancelled)
total-testsTotal number of tests
passed-testsNumber of passed tests
failed-testsNumber of failed tests
flaky-testsNumber of flaky tests
skipped-testsNumber of skipped tests
durationTotal test duration in seconds