ignoreTestFiles is ignored when passed from cli
See original GitHub issueCurrent behavior:
When invoking cypress with config ignoreTestFiles=*blob
from the command line, specs that match the blob aren’t ignored. For instance, this npm
command:
"cypress:run": "cypress run --config ignoreTestFiles=*.demo.js"
Will make a spec.demo.js
to run, when it should be ignored.
Desired behavior:
Files that match the ignoreTestFiles
parameter should be ignored.
Steps to reproduce:
I set up a test-tiny-repo clone with a demo of the issue. The branch is called ignore-test-files-cli-issue
. You can find the repo here.
The readme has all the instructions.
Versions:
Mac Os: 10.13.4 Cypress: 2.1
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Cypress ignoreTestFiles is not ignoring tests - Stack Overflow
I used Globster to verify the minimatch, and it says its correct. But when I run my tests, these files are not getting...
Read more >Configurations in Cypress and How to Disable Default ...
This configuration specifies a list of test files that ignore as a test file. For example, if you have any file under Integration...
Read more >Skip test conditionally with Cypress - Filip Hric
For ignoring your test files, use ignoreTestFiles . You can also pass arrays these attributes. These can contain either test name or ...
Read more >Configuration - Cypress Documentation
A String or Array of glob patterns used to ignore test files that would otherwise be shown in your list of tests. Please...
Read more >Linters | golangci-lint
Name Description Presets Since
asasalint ⚙️ check for pass any as any in variadic func(...any) bugs 1.47.0
bidichk ⚙️ Checks for dangerous unicode character sequences...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you for taking the time to provide this excellent example. I was able to reproduce what you described. Passing
ignoreTestFiles
as a CLI argument does not work as the documentation suggests: cypress-io/cypress-documentation#535 We believe this is a bug.Released in
3.3.2
.