diff --git a/docs/web-apps/automated-testing/cucumberjs-playwright/yaml.md b/docs/web-apps/automated-testing/cucumberjs-playwright/yaml.md index 3d375d70c3..9a32635505 100644 --- a/docs/web-apps/automated-testing/cucumberjs-playwright/yaml.md +++ b/docs/web-apps/automated-testing/cucumberjs-playwright/yaml.md @@ -423,7 +423,7 @@ npm: auth: base64SecretToken username: myUsername password: myPassword - email: myEmail + email: myEmail ``` --- @@ -743,7 +743,7 @@ artifacts:

| OPTIONAL | OBJECT |

Define directories to archive and retain as a test asset at the end of a test run. Archived test assets can -be downloaded automatically using the `download` configuration, via the +be downloaded automatically using the `download` configuration, via the [REST API](/dev/api/jobs/#get-a-job-asset-file), or through the test details page. ```yaml @@ -1125,7 +1125,7 @@ suites: require: - "features/support/*.js" format: - - "json:my-cucumber.json" + - '"json":"my-cucumber.json"' ``` --- @@ -1259,14 +1259,21 @@ suites:

| OPTIONAL | ARRAY |

-Name/path and (optionally) output file path of each formatter to use. See the [Cucumber.js Formatters documentation](https://github.com/cucumber/cucumber-js/blob/main/docs/formatters.md) for more information. +Specifies the name or path of each formatter to use, along with an optional output file path. If no output file path is specified, the output defaults to stdout. +The name or path, as well as the optional output file path, must be enclosed in quotes. See the [Cucumber.js Formatters documentation](https://github.com/cucumber/cucumber-js/blob/main/docs/formatters.md) for more information. + +:::warning +Cucumber deprecated the previous `format` configuration without quotes in version **9.6.0** and will remove it in **11.0.0** or later. +If you're still using a `format` setting without quotes, migrate to the latest pattern. +For more details, see the [Cucumber.js Deprecations documentation](https://github.com/cucumber/cucumber-js/blob/main/docs/deprecations.md#ambiguous-colons-in-formats). +::: ```yaml suites: - name: My Cucumber Test options: format: - - "json:my-cucumber.json" + - '"json":"my-cucumber.json"' ``` ---