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

Support for returning file names only with --tagged option #88

Open
gricid opened this issue Jan 20, 2023 · 1 comment
Open

Support for returning file names only with --tagged option #88

gricid opened this issue Jan 20, 2023 · 1 comment

Comments

@gricid
Copy link
Contributor

gricid commented Jan 20, 2023

When using npx find-cypress-specs --tagged @foo, the passed in tag is ignored and the entire list of specs is returned.

npx find-cypress-specs --tags returns the expected # of tests in the output for @foo

npx find-cypress-specs --names --tagged @foo returns the expected list of specs with the test names

But I'm only interested in building a list of spec files themselves, not the test names associated with the tags. It would be really helpful to be able to build a list of spec files, based on a tag, to pass into Jenkins.

@bahmutov
Copy link
Owner

bahmutov commented Jan 20, 2023 via email

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