looks like cypress is adding "default" cypress script which runs cypress open
I have to add cypress: cypress in package.json to fix this. when I'm using npm your plugin works out of the box.
/(...)/bin/node /usr/local/lib/node_modules/yarn/bin/yarn.js run cypress run -b chrome --reporter /(...)/node_modules/cypress-intellij-reporter --spec /(...)/articles.test.ts
yarn run v1.22.0
$ cypress open run -b chrome --reporter /(...)/node_modules/cypress-intellij-reporter --spec /(...)/articles.test.ts
error: unknown option: --reporter
Usage: cypress open [options]
Opens Cypress in the interactive GUI.
Options:
-b, --browser <browser-path> path to a custom browser to be added to the list of available browsers in Cypress
-c, --config <config> sets configuration values. separate multiple values with a comma. overrides any
value in cypress.json.
-C, --config-file <config-file> path to JSON file where configuration values are set. defaults to "cypress.json".
pass "false" to disable.
-d, --detached [bool] runs Cypress application in detached mode
-e, --env <env> sets environment variables. separate multiple values with a comma. overrides any
value in cypress.json or cypress.env.json
--global force Cypress into global mode as if its globally installed
-p, --port <port> runs Cypress on a specific port. overrides any value in cypress.json.
-P, --project <project-path> path to the project
--dev runs cypress in development and bypasses binary check
-h, --help output usage information
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Process finished with exit code 1
yarn + cypress 5.3
looks like cypress is adding "default"
cypress
script which runscypress open
I have to add
cypress: cypress
in package.json to fix this. when I'm using npm your plugin works out of the box.