
Run All Specs was the most used feature in the Test Runner and When it was removed in Version 10 due to the memory leak issues it was causing, a significantly large amount of users were unhappy, including myself.
Cypress always listen to the community and now it has brought the feature back to its users with Version 11.2.0
With this release the feature is experimental and available for e2e testing only.
In cypress.config.ts(js) file enable the flag — experimentalRunAllSpecs
https://snappify.io/view/ea405ad0-1e32-4eeb-8f21-b73d6a953e6d
e2e: {
specPattern: ["*/.spec.js"],
setupNodeEvents(on, config) {
require("cypress-mochawesome-reporter/plugin")(on);
},
experimentalWebKitSupport: true,
experimentalRunAllSpecs: true
}
Now if we launch of cypress test runner with npx cypress open, we can see the Run All Specs option like below when we hover mouse on folder.


Leave a comment