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

Reference https://github.com/microsoft/playwright/issues/32828
This commit is contained in:
Yury Semikhatsky 2024-09-26 09:41:38 -07:00 committed by GitHub
parent d07f6cfc5c
commit e8d08e8d1e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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>;