From 82f40d08021d1e57cbca5037287a9dc5da7a3059 Mon Sep 17 00:00:00 2001 From: John Hill Date: Mon, 29 Jan 2024 14:59:28 -0800 Subject: [PATCH] docs: Add Warning about Github Annotations (#29202) --- docs/src/test-reporters-js.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/src/test-reporters-js.md b/docs/src/test-reporters-js.md index ed4424f3e1..24e346d849 100644 --- a/docs/src/test-reporters-js.md +++ b/docs/src/test-reporters-js.md @@ -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';