diff --git a/docs/src/test-api/class-test.md b/docs/src/test-api/class-test.md index a89200e275..b6ae7d1522 100644 --- a/docs/src/test-api/class-test.md +++ b/docs/src/test-api/class-test.md @@ -1711,10 +1711,9 @@ Step body. Whether to box the step in the report. Defaults to `false`. When the step is boxed, errors thrown from the step internals point to the step call site. See below for more details. ### option: Test.step.location -* since: v1.50 -- `location` <[Object]> - -Specifies a custom location for a test step as { file, line, column }, enabling precise error reporting within user code. +* since: v1.48 +- `location` <[Location]> +Specifies a custom location for the step to be shown in test reports. By default, location of the [`method: Test.step`] call is shown. ## method: Test.use * since: v1.10