diff --git a/source/dashboard/overview/projects-dashboard.md b/source/dashboard/overview/projects-dashboard.md index 0d073d0820..e3584f1164 100644 --- a/source/dashboard/overview/projects-dashboard.md +++ b/source/dashboard/overview/projects-dashboard.md @@ -60,7 +60,7 @@ In order to record your test runs, you'll also need to provide a {% urlHash "Rec ***Provide record key in {% url '`cypress run`' command-line#cypress-run %}:*** ```shell -cypress run --record --key +cypress run --record --key abc-key-123 ``` ***Or set record key as environment variable*** diff --git a/source/guides/guides/continuous-integration.md b/source/guides/guides/continuous-integration.md index ff016558a4..4664ddcc79 100644 --- a/source/guides/guides/continuous-integration.md +++ b/source/guides/guides/continuous-integration.md @@ -109,7 +109,7 @@ If you are {% url 'recording your runs' continuous-integration#Recording-Tests-i Instead of hard coding it into your run command like this: ```shell -cypress run --record --key +cypress run --record --key abc-key-123 ``` You can set the record key as the environment variable, `CYPRESS_RECORD_KEY`, and we'll automatically use that value. You can now omit the `--key` flag when recording. diff --git a/source/guides/references/error-messages.md b/source/guides/references/error-messages.md index eff1538fa6..ee0fda910a 100644 --- a/source/guides/references/error-messages.md +++ b/source/guides/references/error-messages.md @@ -369,13 +369,13 @@ As of version {% url `0.19.0` changelog#0-19-0 %} and CLI versions `0.13.0`, the Previously to record runs you had the environment variable: `CYPRESS_CI_KEY` or you wrote: ```shell -cypress ci +cypress ci abc-key-123 ``` You need to rewrite this as: ```shell -cypress run --record --key +cypress run --record --key abc-key-123 ``` If you were using the environment variable `CYPRESS_CI_KEY`, rename it to`CYPRESS_RECORD_KEY`.