From a4bd551597f0161a853f7bdb725e738544db2130 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Tue, 10 Sep 2024 16:52:12 -0700 Subject: [PATCH] docs: TestInfo.titlePath does not include project (#32548) --- 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 cbc125b3bf..38c706adf7 100644 --- a/docs/src/test-api/class-testinfo.md +++ b/docs/src/test-api/class-testinfo.md @@ -451,7 +451,7 @@ The title of the currently running test as passed to `test(title, testFunction)` * since: v1.10 - type: <[Array]<[string]>> -The full title path starting with the project. +The full title path starting with the test file name. ## property: TestInfo.workerIndex * since: v1.10 diff --git a/packages/playwright/types/test.d.ts b/packages/playwright/types/test.d.ts index 74aeb64133..73cc415a87 100644 --- a/packages/playwright/types/test.d.ts +++ b/packages/playwright/types/test.d.ts @@ -8208,7 +8208,7 @@ export interface TestInfo { title: string; /** - * The full title path starting with the project. + * The full title path starting with the test file name. */ titlePath: Array;