1.9.2 • Published 9 months ago

@estruyf/github-actions-reporter v1.9.2

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

GitHub Actions Reporter for Playwright

This action reports test results from Playwright to GitHub summaries.

Installation

Install from npm:

npm install @estruyf/github-actions-reporter

Usage

You can configure the reporter by adding it to the playwright.config.js file:

import { defineConfig } from '@playwright/test';

export default defineConfig({
  reporter: [
    ['list'],
    ['@estruyf/github-actions-reporter']
  ],
});

More information on how to use reporters can be found in the Playwright documentation.

Configuration

The reporter supports the following configuration options:

OptionDescriptionDefault
titleTitle of the report. Use an empty string ("") to remove the heading.Test results
useDetailsUse details in summary which creates expandable contentfalse
showAnnotationsShow annotations from teststrue
showTagsShow tags from teststrue
showErrorShow error message in summaryfalse
quietDo not show any output in the consolefalse

To use these option, you can update the reporter configuration:

import { defineConfig } from '@playwright/test';

export default defineConfig({
  reporter: [
    ['@estruyf/github-actions-reporter', {
      title: 'My custom title',
      useDetails: true,
      showError: true
    }]
  ],
});

Example without details

Example without details

Example with details

Example with details

Visitors

1.9.1

10 months ago

1.9.0

11 months ago

1.8.0

12 months ago

1.9.1-beta.1066430

10 months ago

1.9.2-beta.1068370

10 months ago

1.9.0-beta.1026629

11 months ago

1.9.0-beta.1028590

11 months ago

1.9.2

10 months ago

1.8.0-beta.9990096

12 months ago

1.8.0-beta.9990013

12 months ago

1.7.0

1 year ago

1.6.0

1 year ago

1.5.1

1 year ago

1.5.0

1 year ago

1.4.0

1 year ago

1.3.0

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago