docs: Add Warning about Github Annotations (#29202)

This commit is contained in:
John Hill 2024-01-29 14:59:28 -08:00 committed by GitHub
parent c85308d717
commit 82f40d0802
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -289,7 +289,9 @@ export default defineConfig({
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.
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.
```js title="playwright.config.ts"
import { defineConfig } from '@playwright/test';