diff --git a/nodejs/docs/api/class-teststepinfo.mdx b/nodejs/docs/api/class-teststepinfo.mdx index 6ead8014fa0..b23a4a31eef 100644 --- a/nodejs/docs/api/class-teststepinfo.mdx +++ b/nodejs/docs/api/class-teststepinfo.mdx @@ -140,6 +140,25 @@ test('my test', async ({ page, isMobile }) => { Optional description that will be reflected in a test report. +--- + +## Properties + +### titlePath {#test-step-info-title-path} + +Added in: v1.55testStepInfo.titlePath + +The full title path starting with the test file name, including the step titles. See also [testInfo.titlePath](/api/class-testinfo.mdx#test-info-title-path). + +**Usage** + +```js +testStepInfo.titlePath +``` + +**Type** +- [Array]<[string]> + [Accessibility]: /api/class-accessibility.mdx "Accessibility" [Android]: /api/class-android.mdx "Android"