You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Catch env variable with reserved name CYPRESS_ENV 1621 (cypress-io#1626)
* server: check CYPRESS_ENV variable when merging configs
* catch invalid CYPRESS_ENV value in CLI, closecypress-io#1621
* linting
* sanitize platform in test snapshot
* linting
* update error message text
* add missing comma
* fix finally merge in JS code
* pass CLI linter
* fix log reference, should be debug
* use correct sinon reference
* update message, show first part in red
* update error message text
record: 'records the run. sends test results, screenshots and videos to your Cypress Dashboard.',
90
-
key: 'your secret Record Key. you can omit this if you set a CYPRESS_RECORD_KEY environment variable.',
116
+
record:
117
+
'records the run. sends test results, screenshots and videos to your Cypress Dashboard.',
118
+
key:
119
+
'your secret Record Key. you can omit this if you set a CYPRESS_RECORD_KEY environment variable.',
91
120
spec: 'runs a specific spec file. defaults to "all"',
92
-
reporter: 'runs a specific mocha reporter. pass a path to use a custom reporter. defaults to "spec"',
121
+
reporter:
122
+
'runs a specific mocha reporter. pass a path to use a custom reporter. defaults to "spec"',
93
123
reporterOptions: 'options for the mocha reporter. defaults to "null"',
94
124
port: 'runs Cypress on a specific port. overrides any value in cypress.json.',
95
-
env: 'sets environment variables. separate multiple values with a comma. overrides any value in cypress.json or cypress.env.json',
96
-
config: 'sets configuration values. separate multiple values with a comma. overrides any value in cypress.json.',
97
-
browserRunMode: 'runs Cypress in the browser with the given name. if a filesystem path is supplied, Cypress will attempt to use the browser at that path.',
98
-
browserOpenMode: 'path to a custom browser to be added to the list of available browsers in Cypress',
125
+
env:
126
+
'sets environment variables. separate multiple values with a comma. overrides any value in cypress.json or cypress.env.json',
127
+
config:
128
+
'sets configuration values. separate multiple values with a comma. overrides any value in cypress.json.',
129
+
browserRunMode:
130
+
'runs Cypress in the browser with the given name. if a filesystem path is supplied, Cypress will attempt to use the browser at that path.',
131
+
browserOpenMode:
132
+
'path to a custom browser to be added to the list of available browsers in Cypress',
99
133
detached: 'runs Cypress application in detached mode',
100
134
project: 'path to the project',
101
135
global: 'force Cypress into global mode as if its globally installed',
@@ -108,11 +142,25 @@ const descriptions = {
108
142
cacheList: 'list cached binary versions',
109
143
cacheClear: 'delete all cached binaries',
110
144
group: 'a named group for recorded runs in the Cypress dashboard',
111
-
parallel: 'enables concurrent runs and automatic load balancing of specs across multiple machines or processes',
112
-
ciBuildId: 'the unique identifier for a run on your CI provider. typically a "BUILD_ID" env var. this value is automatically detected for most CI providers',
145
+
parallel:
146
+
'enables concurrent runs and automatic load balancing of specs across multiple machines or processes',
147
+
ciBuildId:
148
+
'the unique identifier for a run on your CI provider. typically a "BUILD_ID" env var. this value is automatically detected for most CI providers',
0 commit comments