Executing requirements before execution of all spec files
Closed this issue · 1 comments
SebeFromGermany commented
Description
We need the possibility to execute js/typescript code before cypress-cloud connects to the cloud orchestration service.
With cy2 we prepared our client for testing in the setupNodeEvents() in the cypress.config file. This is not possible with cypress-cloud because it's executed for every spec file and not just at the beginning of the run.
Example usage
e2e: {
...e2e,
setupNodeEvents(on, config) {
//executing client preparation steps
return cloudPlugin(on, config);
},
},
agoldis commented