Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

docs: more prominent note on tags being read-only (#32836)

Yury Semikhatskye8d08e8d1e1c
diff --git a/docs/src/test-api/class-testinfo.md b/docs/src/test-api/class-testinfo.md
index 38c706adf7..93cbc93b75 100644
--- a/docs/src/test-api/class-testinfo.md
+++ b/docs/src/test-api/class-testinfo.md
@@ -216,7 +216,9 @@ Test function as passed to `test(title, testFunction)`.
Tags that apply to the test. Learn more about [tags](../test-annotations.md#tag-tests).
-Note that any changes made to this list while the test is running will not be visible to test reporters.
+:::note
+Any changes made to this list while the test is running will not be visible to test reporters.
+:::
## property: TestInfo.testId
* since: v1.32
diff --git a/packages/playwright/types/test.d.ts b/packages/playwright/types/test.d.ts
index 1649de795d..400d7cbcf3 100644
--- a/packages/playwright/types/test.d.ts
+++ b/packages/playwright/types/test.d.ts
@@ -8282,7 +8282,8 @@ export interface TestInfo {
/**
* Tags that apply to the test. Learn more about [tags](https://playwright.dev/docs/test-annotations#tag-tests).
*
- * Note that any changes made to this list while the test is running will not be visible to test reporters.
+ * **NOTE** Any changes made to this list while the test is running will not be visible to test reporters.
+ *
*/
tags: Array<string>;