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

Cypress CLI options for cypress run are not really supported. #1393

Closed
Octirke opened this issue May 29, 2018 · 1 comment
Closed

Cypress CLI options for cypress run are not really supported. #1393

Octirke opened this issue May 29, 2018 · 1 comment

Comments

@Octirke
Copy link

Octirke commented May 29, 2018

Version

3.0.0-beta.11

Reproduction link

https://codesandbox.io/s/vue

Steps to reproduce

I'm trying to pass cypress cli option to npm run test:e2

npm run test:e2e -- -b electron
error: unknown option `-b'

Nothing really works.

What is expected?

I can use all cypress cli options

What is actually happening?

All options outside the classic ones --headless --mode --url don't work.


Maybe i'm not using the correct command. If this is the real problem, it should be documented and I can PR that if you want.

@yyx990803
Copy link
Member

The doc was a bit out of date - the default test:e2e runs cypress open so it accepts only cypress open args. It only accepts cypress run args if using --headless flag.

In addition there's also a related bug that is fixed in the commit above.

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

No branches or pull requests

2 participants