Skip to content

Commit

Permalink
Updating cli docs for --browser flag behavior (#5904)
Browse files Browse the repository at this point in the history
* Update cypress open documentation

* Add feature section for browser flag

* Run lint fix

* Update docs/guides/references/changelog.mdx

Co-authored-by: Mike McCready <[email protected]>

---------

Co-authored-by: Jennifer Shehane <[email protected]>
Co-authored-by: Mike McCready <[email protected]>
  • Loading branch information
3 people authored Aug 27, 2024
1 parent a416734 commit f537f80
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/guides/guides/command-line.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -673,8 +673,10 @@ you open. These persist on all projects until you quit Cypress. These options
will also override values in the Cypress configuration file.
By passing `--browser` and `--e2e` or `--component` when launching a project,
you can open Cypress and launch the browser at the same time. Otherwise, you
will be guided through selecting a browser, project, and/or testing type.
you can open Cypress and launch the browser at the same time. If passing the
`--browser` flag alone, the browser will launch automatically after being
guided through project and/or testing type selection. Otherwise, you will
be guided through selecting a browser, project, and/or testing type.
| Option | Description |
| --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
Expand Down
1 change: 1 addition & 0 deletions docs/guides/references/changelog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ _Released 8/27/2024_
- `.type({upArrow})` and `.type({downArrow})` now also works for date, month, week, time, datetime-local and range input types. Addresses [#29665](https://github.com/cypress-io/cypress/issues/29665).
- Added a `CYPRESS_SKIP_VERIFY` flag to enable suppressing Cypress verification checks. Addresses [#22243](https://github.com/cypress-io/cypress/issues/22243).
- Updated the protocol to allow making Cloud API requests. Addressed in [#30066](https://github.com/cypress-io/cypress/pull/30066).
- Passing `--browser` flag alone will automatically launch browser after being guided through project and/or testing type selection. Addressed in [#28538](https://github.com/cypress-io/cypress/pull/28538).

**Bugfixes:**

Expand Down

0 comments on commit f537f80

Please sign in to comment.