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

‼ Warning: It looks like you're passing --spec a space-separated list of arguments (base version) #70

Open
ksiborenko opened this issue Nov 9, 2021 · 4 comments
Labels
base version This issue relates to the Cypress Support plugin (aka base version) only

Comments

@ksiborenko
Copy link

Hello, I just installed plugin and it seems to be a gr8 help but it doesn't work for me :( I'm getting this error :( tried to search through internet but haven't found nothing that could help me. By any chance you know what may be going on ? Many thanks in advance and have a gr8 day.
(below full message from the console)

"C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npx-cli.js" cypress run --reporter C:\Users\tamir\AppData\Local\Temp\intellij-cypress-reporter8780559661397189073.js --spec "C:/Users/tamir/Desktop/Cypress Automation/cypress/integration/examples/filters/functionality/quick_remove.js"

‼ Warning: It looks like you're passing --spec a space-separated list of arguments:

"C:/Users/tamir/Desktop/Cypress Automation/cypress/integration/examples/filters/functionality/quick_remove.js"

This will work, but it's not recommended.

If you are trying to pass multiple arguments, separate them with commas instead:
cypress run --spec arg1,arg2,arg3

The most common cause of this warning is using an unescaped glob pattern. If you are
trying to pass a glob pattern, escape it using quotes:
cypress run --spec "**/*.spec.js"

Can't run because no spec files were found.

We searched for any files matching this glob pattern:

..\Cypress,Automation\cypress\integration\examples\filters\functionality\quick_remove.js

Relative to the project root folder:

C:\Users\tamir\Desktop\Cypress Automation

Process finished with exit code 1

@mbolotov
Copy link
Owner

mbolotov commented Nov 9, 2021

Hi @ksiborenko!
The problem seems to be with the space inside Cypress Automation path element.
Which version of the plugin do you use?
Anyway, you will probably workaround the problem if you can go away from the path containing a space.

@ksiborenko
Copy link
Author

ksiborenko commented Nov 9, 2021

Hello thank you for quick reply ! it's 1.4.2.
Not sure how to do it. But maybe tomorrow I'll try with friend from my work ;))

@mbolotov
Copy link
Owner

mbolotov commented Nov 9, 2021

I mean you can move your cypress project out from the Cypress Automation folder to some other without a space

@ksiborenko
Copy link
Author

hahaha this I know how to do ;))
I removed space (CypressAutomation) and it worked ! thank you wery wery much for quick reply and help !

@mbolotov mbolotov changed the title ‼ Warning: It looks like you're passing --spec a space-separated list of arguments: ‼ Warning: It looks like you're passing --spec a space-separated list of arguments (base version) Dec 5, 2021
@mbolotov mbolotov added the base version This issue relates to the Cypress Support plugin (aka base version) only label Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
base version This issue relates to the Cypress Support plugin (aka base version) only
Projects
None yet
Development

No branches or pull requests

2 participants