From 8e02ef2f1267f7ba069accb9fce42386762f7892 Mon Sep 17 00:00:00 2001 From: Lukas Bockstaller Date: Mon, 4 Mar 2024 16:22:22 +0100 Subject: [PATCH] docs: fix types --- docs/src/test-api/class-testinfo.md | 2 +- packages/playwright/types/test.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.