joydeep
joydeep

Reputation: 1

Is there a way to disable Component Testing feature in cypress 10.x and above

We do not use the Component Testing feature in Cypress, which was introduced in version 10.x and above. Its an additional burden to close it every time before we land into the test runner.

Upvotes: 0

Views: 565

Answers (1)

agoff
agoff

Reputation: 7125

You can use the --e2e flag when running Cypress via command line to launch directly to the end-to-end test suite. Assuming you're using npm, that would be:

npx cypress open --e2e

If you have a package.json file where you store your scripts, you can modify that script as well.

...
"cypress:open": "npx cypress open --e2e",
...
npm run cypress:open

Upvotes: 1

Related Questions