docs: more prominent note on tags being read-only

Reference https://github.com/microsoft/playwright/issues/32828
This commit is contained in:
Yury Semikhatsky 2024-09-26 09:33:47 -07:00
parent d07f6cfc5c
commit 4316b18cd3
2 changed files with 5 additions and 2 deletions

View file

@ -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

View file

@ -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>;