diff --git a/docs/src/test-api/class-testinfo.md b/docs/src/test-api/class-testinfo.md index 8be847c0df..4ffeb2d8c7 100644 --- a/docs/src/test-api/class-testinfo.md +++ b/docs/src/test-api/class-testinfo.md @@ -212,7 +212,7 @@ Test function as passed to `test(title, testFunction)`. ## property: TestInfo.tags * since: v1.43 -- type: <[string]> +- type: <[Array]<[string]>> Tags that apply to the tests. diff --git a/packages/playwright/types/test.d.ts b/packages/playwright/types/test.d.ts index a7d3d265c7..5fc89c7481 100644 --- a/packages/playwright/types/test.d.ts +++ b/packages/playwright/types/test.d.ts @@ -2315,7 +2315,7 @@ export interface TestInfo { /** * Tags that apply to the tests. */ - tags: string[]; + tags: Array; /** * Test id matching the test case id in the reporter API.