Skip to content

Commit

Permalink
misc: correct CLI help typo for cypress open --global
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcC399 committed Nov 4, 2024
1 parent b8a5280 commit 7f0cd31
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ _Released 10/24/2024_
- Cypress now consumes [geckodriver](https://firefox-source-docs.mozilla.org/testing/geckodriver/index.html) to help automate the Firefox browser instead of [marionette-client](https://github.com/cypress-io/marionette-client). Addresses [#30217](https://github.com/cypress-io/cypress/issues/30217).
- Cypress now consumes [webdriver](https://github.com/webdriverio/webdriverio/tree/main/packages/webdriver) to help automate the Firefox browser and [firefox-profile](https://github.com/saadtazi/firefox-profile-js) to create a firefox profile and convert it to Base64 to save user screen preferences via `xulstore.json`. Addresses [#30300](https://github.com/cypress-io/cypress/issues/30300) and [#30301](https://github.com/cypress-io/cypress/issues/30301).
- Pass spec information to protocol's `beforeSpec` to improve troubleshooting when reporting on errors. Addressed in [#30316](https://github.com/cypress-io/cypress/pull/30316).
- Fixed a typo in CLI `global` option help text. Addresses [#30531](https://github.com/cypress-io/cypress/issues/30531).

**Dependency Updates:**

Expand Down
2 changes: 1 addition & 1 deletion cli/__snapshots__/cli_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ exports['shows help for open --foo 1'] = `
multiple values with a comma. overrides any
value in cypress.config.{js,ts,mjs,cjs} or
cypress.env.json
--global force Cypress into global mode as if its
--global force Cypress into global mode as if it were
globally installed
-p, --port <port> runs Cypress on a specific port. overrides
any value in cypress.config.{js,ts,mjs,cjs}.
Expand Down
2 changes: 1 addition & 1 deletion cli/lib/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ const descriptions = {
env: 'sets environment variables. separate multiple values with a comma. overrides any value in cypress.config.{js,ts,mjs,cjs} or cypress.env.json',
exit: 'keep the browser open after tests finish',
forceInstall: 'force install the Cypress binary',
global: 'force Cypress into global mode as if its globally installed',
global: 'force Cypress into global mode as if it were globally installed',
group: 'a named group for recorded runs in Cypress Cloud',
headed: 'displays the browser instead of running headlessly',
headless: 'hide the browser instead of running headed (default for cypress run)',
Expand Down

0 comments on commit 7f0cd31

Please sign in to comment.