It would be better if --record
mode was automatic when CYPRESS_RECORD_KEY
is set.
#19309
factoidforrest
started this conversation in
Cypress Cloud
Replies: 1 comment
-
I hacked around the need for two separate commands by just including the whole argument group in a secret env variable So that it only happens in CI but with the same command. Still, it should be smart enough to happen automatically. The |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The CLI is smart enough to pick up the key automatically, but not smart enough to automatically go into recording mode. Because most people only want recording in CI, and because the key is a secret value (which the instructions don't mention, btw), it's annoying to have to run a whole different command with the --record option set when in CI. Just pick it up from ENV vars.
Beta Was this translation helpful? Give feedback.
All reactions