{"id":15723576,"url":"https://github.com/estruyf/playwright-github-actions-reporter","last_synced_at":"2026-02-05T20:14:10.611Z","repository":{"id":188922053,"uuid":"679698681","full_name":"estruyf/playwright-github-actions-reporter","owner":"estruyf","description":"GitHub Actions reporter for Playwright","archived":false,"fork":false,"pushed_at":"2025-01-23T18:38:27.000Z","size":1202,"stargazers_count":79,"open_issues_count":4,"forks_count":10,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-01-29T10:59:50.735Z","etag":null,"topics":["github","github-actions","playwright","playwright-reporter","reporter"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@estruyf/github-actions-reporter","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/estruyf.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["estruyf"]}},"created_at":"2023-08-17T12:22:37.000Z","updated_at":"2025-11-26T05:48:19.000Z","dependencies_parsed_at":"2024-01-25T09:29:08.837Z","dependency_job_id":"4ae5ea3b-33c3-4bd0-a473-90b687297bd4","html_url":"https://github.com/estruyf/playwright-github-actions-reporter","commit_stats":null,"previous_names":["estruyf/playwright-github-actions-reporter"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/estruyf/playwright-github-actions-reporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estruyf%2Fplaywright-github-actions-reporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estruyf%2Fplaywright-github-actions-reporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estruyf%2Fplaywright-github-actions-reporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estruyf%2Fplaywright-github-actions-reporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/estruyf","download_url":"https://codeload.github.com/estruyf/playwright-github-actions-reporter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estruyf%2Fplaywright-github-actions-reporter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29133256,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T19:36:52.185Z","status":"ssl_error","status_checked_at":"2026-02-05T19:35:40.941Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github","github-actions","playwright","playwright-reporter","reporter"],"created_at":"2024-10-03T22:12:22.622Z","updated_at":"2026-02-05T20:14:10.595Z","avatar_url":"https://github.com/estruyf.png","language":"TypeScript","readme":"# GitHub Actions Reporter for Playwright\n\nThis action reports test results from Playwright to GitHub summaries.\n\n## Installation\n\nInstall from npm:\n  \n```bash\nnpm install @estruyf/github-actions-reporter\n```\n\n## Usage\n\nYou can configure the reporter by adding it to the `playwright.config.js` file:\n\n```ts\nimport { defineConfig } from '@playwright/test';\n\nexport default defineConfig({\n  reporter: [\n    ['list'],\n    ['@estruyf/github-actions-reporter']\n  ],\n});\n```\n\n\u003e More information on how to use reporters can be found in the [Playwright documentation](https://playwright.dev/docs/test-reporters).\n\n## Configuration\n\nThe reporter supports the following configuration options:\n\n| Option | Description | Default |\n| --- | --- | --- |\n| title | Title of the report. Use an empty string (`\"\"`) to remove the heading.  | `Test results` |\n| useDetails | Use details in summary which creates expandable content | `false` |\n| showAnnotations | Show annotations from tests | `true` |\n| showAnnotationsInColumn | Shows annotations from tests but in a column.  To enable showAnnotations must be set to `true` | `false` |\n| showTags | Show tags from tests | `true` |\n| showError | Show error message in summary | `false` |\n| includeResults | Define which types of test results should be shown in the summary | `['pass', 'skipped', 'fail', 'flaky']` |\n| quiet | Do not show any output in the console | `false` |\n| showArtifactsLink | Show a link to the artifacts section in the workflow overview | `false` |\n| azureStorageUrl | URL to the Azure Storage account where the screenshots are stored (optional) | `\"\"` |\n| azureStorageSAS | Shared Access Signature (SAS) token to access the Azure Storage account (optional) | `\"\"` |\n\nTo use these option, you can update the reporter configuration:\n\n```ts\nimport { defineConfig } from '@playwright/test';\nimport type { GitHubActionOptions } from '@estruyf/github-actions-reporter';\n\nexport default defineConfig({\n  reporter: [\n    ['@estruyf/github-actions-reporter', \u003cGitHubActionOptions\u003e{\n      title: 'My custom title',\n      useDetails: true,\n      showError: true\n    }]\n  ],\n});\n```\n\n### Example without details\n\n![Example without details](./assets/example-without-details.png)\n\n### Example with details\n\n![Example with details](./assets/example-with-details.png)\n\n## Showing result attachments\n\nIf you want to show attachments like when you use pixel matching, you need to provide the configuration for the blob service where the images will be stored.\n\n\u003e [!NOTE]\n\u003e GitHub does not have an API to link images to the summary. Therefore, you need to store the images in a blob storage service and provide the URL to the images.\n\n\u003e [!IMPORTANT]\n\u003e To show the attachments, you need to make sure to enable `showError` as well.\n\n![Example with attachments](./assets/example-with-attachments.png)\n\n### Azure Blob Storage\n\nIf you are using Azure Blob Storage, you need to provide the `azureStorageUrl` and `azureStorageSAS` configuration options.\n\nFollow the next steps to get the URL and SAS token:\n\n- Go to your Azure Portal\n- Navigate to your storage account or create a new one\n- Navigate to **data storage** \u003e **containers**\n- Create a new container. Set the access level to **Blob (anonymous read access for blobs only)**\n- Open the container, and click on **Shared access signature**\n- Create a new shared access signature with the following settings:\n  - Allowed permissions: **Create**\n  - Expiry time: **Custom** (set the time you want)\n  - Allowed protocols: **HTTPS only**\n- Click on **Generate SAS and URL**\n- Copy the **Blob SAS token**, this will be your `azureStorageSAS` value\n- Copy the **Blob service URL** and append the container name to it, this will be your `azureStorageUrl` value. Example: `https://\u003cname\u003e.blob.core.windows.net/\u003ccontainer-name\u003e`.\n- Update the `playwright.config.js` file with the following configuration:\n\n```ts\nimport { defineConfig } from '@playwright/test';\n\nexport default defineConfig({\n  reporter: [\n    ['@estruyf/github-actions-reporter', {\n      showError: true,\n      azureStorageUrl: 'https://\u003cname\u003e.blob.core.windows.net/\u003ccontainer-name\u003e',\n      azureStorageSAS: '\u003cyour-sas-token\u003e'\n    }]\n  ],\n});\n```\n\n[![Visitors](https://api.visitorbadge.io/api/visitors?path=https%3A%2F%2Fgithub.com%2Festruyf%2Fplaywright-github-actions-reporter\u0026countColor=%23263759)](https://visitorbadge.io/status?path=https%3A%2F%2Fgithub.com%2Festruyf%2Fplaywright-github-actions-reporter)\n","funding_links":["https://github.com/sponsors/estruyf"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Festruyf%2Fplaywright-github-actions-reporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Festruyf%2Fplaywright-github-actions-reporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Festruyf%2Fplaywright-github-actions-reporter/lists"}