Closed shye0000 closed 1 year ago
You're using cypress 9.7.0
and trying to use the new configuration syntax instead of legacy syntax
? Im confused... I am using the new syntax I think, no? specPattern
in e2e
is the new syntax no?
It is supported in 10+
arf, I see, my bad, the cypress installed in the stupid CI is 9.7.0, sorry for the noises
Before opening, please confirm:
Environment information
Describe the bug
Having this error with cy2 (it tries to find tests in the default folder "cypress/intergration")
But in the cypress.config.ts, I have this cutomized:
So it seems to me that cy2 does not follow correctly the cypress configuration file.
Expected behavior
find tests in my customized directory and follow the other cypress configurations too.
Command and Setup
CYPRESS_PROJECT_ID=foo cy2 run --headless --record --parallel --key bar --ci-build-id $CI_PIPELINE_ID
Full log and debug output