https://cypress.io logo
What is the command to run a specific feature file...
# cypress-cloud
a
What is the command to run a specific feature file in cypress dashboard?
f
When you say “feature file”, do you mean spec file? i.e. the file with your it() blocks?
a
yes spec file but i am using cucumber which has step definition and feature file
in cypress.json file - "testFiles": "**/*.feature" we can specify for all feature files
but if i want to run 2 feature files then what should be the command in cypress. json file?
i have 3 feature file right now. out of them i just want to run only 2 in dashboard
f
That should be a glob, so I think you can make it a comma separated list, and override that cypress.json property on the command line. There’s docs for them
a
can you send the link for docs?
f
Just google it, it’s like cypress docs command line
a
ok
Thank you
9 Views