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
Vue cli not passing --headless to cypress #5103
Comments
The plugin removes the flag as its relys on the I'm not sure if the The solution should indeed be simple enough. Edit: Seems the combination of https://docs.cypress.io/guides/references/changelog.html#3-8-0 |
Thanks a lot @LinusBorg |
when calling `cypress run` fix #5103
) * fix(e2e-cypress): make —headless work with —browser chrome fix vuejs#5103 * fix: increase cypress minimum version to 3.8 this version onwards supports using --browser chrome --headless
Version
4.1.2
Reproduction link
https://github.com/borisgdodo/sreda
Environment info
Steps to reproduce
yarn install
yarn test:e2e --headless --browser chrome
It will run chrome but not in headless mode.
What is expected?
Browser should be run headless.
What is actually happening?
Specifying --browser and --headless does not start the browser in headless mode.
In
packages/@vue/cli-plugin-e2e-cypress/index.js
removes the argument sent and the test does not run in headless mode when
--browser
is specified.The text was updated successfully, but these errors were encountered: