Skip to content

Clarify GitHub Actions reporter usage#34

Open
Sbrjt wants to merge 2 commits into
wxt-dev:mainfrom
Sbrjt:main
Open

Clarify GitHub Actions reporter usage#34
Sbrjt wants to merge 2 commits into
wxt-dev:mainfrom
Sbrjt:main

Conversation

@Sbrjt

@Sbrjt Sbrjt commented Jul 4, 2026

Copy link
Copy Markdown

The playwright docs say:

You can use the built in github reporter to get automatic failure annotations when running in GitHub actions.

Note that all other reporters work on GitHub Actions as well, but do not provide annotations. Also, it is not recommended to use this annotation type if running your tests with a matrix strategy as the stack trace failures will multiply and obscure the GitHub file view.

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

export default defineConfig({
  // 'github' for GitHub Actions CI to generate annotations, plus a concise 'dot'
  // default 'list' when running locally
  reporter: process.env.CI ? 'github' : 'list',
});

Eg:

image

@Sbrjt Sbrjt changed the title docs: clarify GitHub Actions reporter usage Clarify GitHub Actions reporter usage Jul 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant