Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation states you can bypass launchpad with flags, not working #5811

Open
xjdesigns opened this issue Apr 19, 2024 · 2 comments
Open

Comments

@xjdesigns
Copy link

Subject

examples, guides

Description

Upon review of Cypress documentation under the "cypress app" section if you pass the flag of "--browser", "--component", or "--e2e" you can bypass the launchpad and go straight to the spec page. Here is the wording and a link.

Once you get comfortable with Cypress you might find you don't need the Launchpad any more. In this case [you can run cypress open with the --browser and --component or --e2e options](https://docs.cypress.io/guides/guides/command-line#cypress-open) to go straight to the Specs page.

Docs

I saw a thread from Nov 2023 noting this was not possible. After testing using these args in the command this is true and launchpad still opens. Would be good to update the documentation if this is not a bug and proper to avoid more people spending time trying to debug something documented which is not possible.

Screenshot 2024-04-19 at 3 50 12 PM

@MikeMcC399
Copy link
Contributor

@xjdesigns

You are right that the description is open to interpretation and could be made clearer.

The wording does not explicitly says that the Cypress Launchpad is not started. Using the command line options means you don't have to click your way through to getting the Cypress Runner to start, instead it starts together with the Cypress Launchpad.

@jennifer-shehane
Copy link
Member

We can't skip entirely not opening the Launchpad so that we can handle error states and showing views in those error states (like an incorrect config) without crashing the entire experience or taking you to the terminal for that error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants