Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

docs: TestInfo.titlePath does not include project (#32548)

Yury Semikhatskya4bd551597f0
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<string>;