cypress-utils icon indicating copy to clipboard operation
cypress-utils copied to clipboard

Can't find specified specs files

Open jove4015 opened this issue 2 years ago • 4 comments

No matter what I do, I can't seem to stress-test against one spec file:

$ npx cypress-utils stress-test Orders/SGO.spec.js

No Cypress spec files were found. You may have specified invalid file identifiers.

The following file identifiers were provided: "Orders/SGO.spec.js"

Your configuration specifies that test files are contained within the following directory:
`./specs`

See help for the `--integrationFolder` command-line option if this is incorrect.

In my config:

  "integrationFolder": "./specs",
  "testFiles": "**/*.spec.js",

I have tried:

  • entering the full path to the spec file
  • entering the relative path
  • entering just the name "SGO"
  • entering just "Orders/SGO"
  • any thing else you could possibly think of

The file is definitely there in the specs folder.

This same spec will run just fine if I don't specify it and just allow it to run all specs- but that's not what I'm trying to stress test.

Is there any way to get this thing to print out what specs it does find so that I can figure out what it wants me to refer to the spec as?

jove4015 avatar May 24 '22 17:05 jove4015