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
Copy file name to clipboardexpand all lines: cli/__snapshots__/cli_spec.js
+8-8
Original file line number
Diff line number
Diff line change
@@ -23,20 +23,20 @@ exports['shows help for open --foo 1'] = `
23
23
--component runs component tests
24
24
-c, --config <config> sets configuration values. separate multiple
25
25
values with a comma. overrides any value in
26
-
cypress.config.{ts|js}.
26
+
cypress.config.{js,ts,mjs,cjs}.
27
27
-C, --config-file <config-file> path to script file where configuration
28
28
values are set. defaults to
29
-
"cypress.config.{ts|js}".
29
+
"cypress.config.{js,ts,mjs,cjs}".
30
30
-d, --detached [bool] runs Cypress application in detached mode
31
31
--e2e runs end to end tests
32
32
-e, --env <env> sets environment variables. separate
33
33
multiple values with a comma. overrides any
34
-
value in cypress.config.{ts|js} or
34
+
value in cypress.config.{js,ts,mjs,cjs} or
35
35
cypress.env.json
36
36
--global force Cypress into global mode as if its
37
37
globally installed
38
38
-p, --port <port> runs Cypress on a specific port. overrides
39
-
any value in cypress.config.{ts|js}.
39
+
any value in cypress.config.{js,ts,mjs,cjs}.
40
40
-P, --project <project-path> path to the project
41
41
--dev runs cypress in development and bypasses
42
42
binary check
@@ -70,17 +70,17 @@ exports['shows help for run --foo 1'] = `
70
70
-b, --browser <browser-name-or-path> 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.
71
71
--ci-build-id <id> 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
72
72
--component runs component tests
73
-
-c, --config <config> sets configuration values. separate multiple values with a comma. overrides any value in cypress.config.{ts|js}.
74
-
-C, --config-file <config-file> path to script file where configuration values are set. defaults to "cypress.config.{ts|js}".
73
+
-c, --config <config> sets configuration values. separate multiple values with a comma. overrides any value in cypress.config.{js,ts,mjs,cjs}.
74
+
-C, --config-file <config-file> path to script file where configuration values are set. defaults to "cypress.config.{js,ts,mjs,cjs}".
75
75
--e2e runs end to end tests
76
-
-e, --env <env> sets environment variables. separate multiple values with a comma. overrides any value in cypress.config.{ts|js} or cypress.env.json
76
+
-e, --env <env> sets environment variables. separate multiple values with a comma. overrides any value in cypress.config.{js,ts,mjs,cjs} or cypress.env.json
77
77
--group <name> a named group for recorded runs in the Cypress Dashboard
78
78
-k, --key <record-key> your secret Record Key. you can omit this if you set a CYPRESS_RECORD_KEY environment variable.
79
79
--headed displays the browser instead of running headlessly
80
80
--headless hide the browser instead of running headed (default for cypress run)
81
81
--no-exit keep the browser open after tests finish
82
82
--parallel enables concurrent runs and automatic load balancing of specs across multiple machines or processes
83
-
-p, --port <port> runs Cypress on a specific port. overrides any value in cypress.config.{ts|js}.
83
+
-p, --port <port> runs Cypress on a specific port. overrides any value in cypress.config.{js,ts,mjs,cjs}.
84
84
-P, --project <project-path> path to the project
85
85
-q, --quiet run quietly, using only the configured reporter
86
86
--record [bool] records the run. sends test results, screenshots and videos to your Cypress Dashboard.
Copy file name to clipboardexpand all lines: cli/lib/cli.js
+4-4
Original file line number
Diff line number
Diff line change
@@ -101,12 +101,12 @@ const descriptions = {
101
101
cacheSize: 'Used with the list command to show the sizes of the cached folders',
102
102
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',
103
103
component: 'runs component tests',
104
-
config: 'sets configuration values. separate multiple values with a comma. overrides any value in cypress.config.{ts|js}.',
105
-
configFile: 'path to script file where configuration values are set. defaults to "cypress.config.{ts|js}".',
104
+
config: 'sets configuration values. separate multiple values with a comma. overrides any value in cypress.config.{js,ts,mjs,cjs}.',
105
+
configFile: 'path to script file where configuration values are set. defaults to "cypress.config.{js,ts,mjs,cjs}".',
106
106
detached: 'runs Cypress application in detached mode',
107
107
dev: 'runs cypress in development and bypasses binary check',
108
108
e2e: 'runs end to end tests',
109
-
env: 'sets environment variables. separate multiple values with a comma. overrides any value in cypress.config.{ts|js} or cypress.env.json',
109
+
env: 'sets environment variables. separate multiple values with a comma. overrides any value in cypress.config.{js,ts,mjs,cjs} or cypress.env.json',
110
110
exit: 'keep the browser open after tests finish',
111
111
forceInstall: 'force install the Cypress binary',
112
112
global: 'force Cypress into global mode as if its globally installed',
@@ -115,7 +115,7 @@ const descriptions = {
115
115
headless: 'hide the browser instead of running headed (default for cypress run)',
116
116
key: 'your secret Record Key. you can omit this if you set a CYPRESS_RECORD_KEY environment variable.',
117
117
parallel: 'enables concurrent runs and automatic load balancing of specs across multiple machines or processes',
118
-
port: 'runs Cypress on a specific port. overrides any value in cypress.config.{ts|js}.',
118
+
port: 'runs Cypress on a specific port. overrides any value in cypress.config.{js,ts,mjs,cjs}.',
119
119
project: 'path to the project',
120
120
quiet: 'run quietly, using only the configured reporter',
121
121
record: 'records the run. sends test results, screenshots and videos to your Cypress Dashboard.',
There is a ${fmt.highlight(`cypress.json`)} file at the path: ${fmt.path(projectRoot)}
1185
1185
1186
-
${fmt.cypressVersion('10.0.0')} no longer supports cypress.json.
1186
+
${fmt.cypressVersion('10.0.0')} no longer supports ${fmt.highlight(`cypress.json`)}.
1187
1187
1188
-
Please run ${fmt.highlightTertiary('cypress open')} to launch the migration tool to migrate to ${fmt.highlightSecondary('cypress.config.{ts|js}')}.
1188
+
Please run ${fmt.highlightTertiary('cypress open')} to launch the migration tool to migrate to ${fmt.highlightSecondary('cypress.config.{js,ts,mjs,cjs}')}.
0 commit comments