You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
CypressHelper.commandForOpen is opening cypress as below:
npx cypress open --config testFiles=%path%
However with cypress update v10.3.0 - testFiles is invalid now.
Instead e2e.specPattern should be used.
To Reproduce
Steps to reproduce the behavior:
Click on open cypress lens above spec
Cypress opens but with error.
Expected behavior
To open the cypress without error.
Environment (please complete the following information):
Extension version: v1.2.2
VS Code version: 1.67.1
OS: Mac:
** Developer Tools Console Output **
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Hi @Smriti-Suhag
Thank you for opening an issue.
Due to publishing token expiration and missing option to regenerate new one I have forked plugin under my personal account:
@Smriti-Suhag
Yes, to keep extension working for previous Cypress versions default command was not changed (npx cypress open). But if cypressHelper.commandForOpen configuration contains command with --e2e flag it treats it as cypress v10.
However, I agree that is not intuitive, so I have added an automatic package.json check in latest version (2.7.0) to detect spec flag name based on cypress version in dependencies or devDependencies.
Describe the bug
CypressHelper.commandForOpen is opening cypress as below:
npx cypress open --config testFiles=%path%
However with cypress update v10.3.0 - testFiles is invalid now.
Instead e2e.specPattern should be used.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
To open the cypress without error.
Environment (please complete the following information):
** Developer Tools Console Output **
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: