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
+11-9
Original file line number
Diff line number
Diff line change
@@ -21,19 +21,21 @@ exports['shows help for open --foo 1'] = `
21
21
--component runs component tests
22
22
-c, --config <config> sets configuration values. separate multiple
23
23
values with a comma. overrides any value in
24
-
cypress.json.
24
+
cypress.config.{ts|js}.
25
25
-C, --config-file <config-file> path to JSON file where configuration values
26
-
are set. defaults to "cypress.json". pass
27
-
"false" to disable.
26
+
are set. defaults to
27
+
"cypress.config.{ts|js}". pass "false" to
28
+
disable.
28
29
-d, --detached [bool] runs Cypress application in detached mode
29
30
--e2e runs end to end tests
30
31
-e, --env <env> sets environment variables. separate
31
32
multiple values with a comma. overrides any
32
-
value in cypress.json or cypress.env.json
33
+
value in cypress.config.{ts|js} or
34
+
cypress.env.json
33
35
--global force Cypress into global mode as if its
34
36
globally installed
35
37
-p, --port <port> runs Cypress on a specific port. overrides
36
-
any value in cypress.json.
38
+
any value in cypress.config.{ts|js}.
37
39
-P, --project <project-path> path to the project
38
40
--dev runs cypress in development and bypasses
39
41
binary check
@@ -67,17 +69,17 @@ exports['shows help for run --foo 1'] = `
67
69
-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.
68
70
--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
69
71
--component runs component tests
70
-
-c, --config <config> sets configuration values. separate multiple values with a comma. overrides any value in cypress.json.
71
-
-C, --config-file <config-file> path to JSON file where configuration values are set. defaults to "cypress.json". pass "false" to disable.
72
+
-c, --config <config> sets configuration values. separate multiple values with a comma. overrides any value in cypress.config.{ts|js}.
73
+
-C, --config-file <config-file> path to JSON file where configuration values are set. defaults to "cypress.config.{ts|js}". pass "false" to disable.
72
74
--e2e runs end to end tests
73
-
-e, --env <env> sets environment variables. separate multiple values with a comma. overrides any value in cypress.json or cypress.env.json
75
+
-e, --env <env> sets environment variables. separate multiple values with a comma. overrides any value in cypress.config.{ts|js} or cypress.env.json
74
76
--group <name> a named group for recorded runs in the Cypress Dashboard
75
77
-k, --key <record-key> your secret Record Key. you can omit this if you set a CYPRESS_RECORD_KEY environment variable.
76
78
--headed displays the browser instead of running headlessly
77
79
--headless hide the browser instead of running headed (default for cypress run)
78
80
--no-exit keep the browser open after tests finish
79
81
--parallel enables concurrent runs and automatic load balancing of specs across multiple machines or processes
80
-
-p, --port <port> runs Cypress on a specific port. overrides any value in cypress.json.
82
+
-p, --port <port> runs Cypress on a specific port. overrides any value in cypress.config.{ts|js}.
81
83
-P, --project <project-path> path to the project
82
84
-q, --quiet run quietly, using only the configured reporter
83
85
--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
@@ -107,12 +107,12 @@ const descriptions = {
107
107
cacheSize: 'Used with the list command to show the sizes of the cached folders',
108
108
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',
109
109
component: 'runs component tests',
110
-
config: 'sets configuration values. separate multiple values with a comma. overrides any value in cypress.json.',
111
-
configFile: 'path to JSON file where configuration values are set. defaults to "cypress.json". pass "false" to disable.',
110
+
config: 'sets configuration values. separate multiple values with a comma. overrides any value in cypress.config.{ts|js}.',
111
+
configFile: 'path to JSON file where configuration values are set. defaults to "cypress.config.{ts|js}". pass "false" to disable.',
112
112
detached: 'runs Cypress application in detached mode',
113
113
dev: 'runs cypress in development and bypasses binary check',
114
114
e2e: 'runs end to end tests',
115
-
env: 'sets environment variables. separate multiple values with a comma. overrides any value in cypress.json or cypress.env.json',
115
+
env: 'sets environment variables. separate multiple values with a comma. overrides any value in cypress.config.{ts|js} or cypress.env.json',
116
116
exit: 'keep the browser open after tests finish',
117
117
forceInstall: 'force install the Cypress binary',
118
118
global: 'force Cypress into global mode as if its globally installed',
@@ -121,7 +121,7 @@ const descriptions = {
121
121
headless: 'hide the browser instead of running headed (default for cypress run)',
122
122
key: 'your secret Record Key. you can omit this if you set a CYPRESS_RECORD_KEY environment variable.',
123
123
parallel: 'enables concurrent runs and automatic load balancing of specs across multiple machines or processes',
124
-
port: 'runs Cypress on a specific port. overrides any value in cypress.json.',
124
+
port: 'runs Cypress on a specific port. overrides any value in cypress.config.{ts|js}.',
125
125
project: 'path to the project',
126
126
quiet: 'run quietly, using only the configured reporter',
127
127
record: 'records the run. sends test results, screenshots and videos to your Cypress Dashboard.',
Copy file name to clipboardexpand all lines: cli/schema/cypress.schema.json
+1-1
Original file line number
Diff line number
Diff line change
@@ -282,7 +282,7 @@
282
282
"includeShadowDom": {
283
283
"type": "boolean",
284
284
"default": false,
285
-
"description": "Enables including elements within the shadow DOM when using querying commands (e.g. cy.get(), cy.find()). Can be set globally in cypress.json, per-suite or per-test in the test configuration object, or programmatically with Cypress.config()"
285
+
"description": "Enables including elements within the shadow DOM when using querying commands (e.g. cy.get(), cy.find()). Can be set globally in cypress.config.{ts|js}, per-suite or per-test in the test configuration object, or programmatically with Cypress.config()"
286
286
},
287
287
"clientCertificates": {
288
288
"description": "Defines client certificates to use when sending requests to the specified URLs",
0 commit comments