bahmutov / cypress-split

Split Cypress specs across parallel CI machines for speed
MIT License
201 stars 23 forks source link

After:run defined by me not being executed #145

Closed damasofc closed 9 months ago

damasofc commented 9 months ago

So I saw that part of the code of the package cypress-splitt is this:

Screenshot 2023-10-20 at 9 26 26 AM

so it seems that because this is being executed then the code I have for the after:run is not being executed, for example in my case I'm generating a .html report in the after:run step but when using cypress-split it is not run, could there be a way to solve this?

damasofc commented 9 months ago

Nevermind I check on https://github.com/bahmutov/cypress-split#debugging the cypress-on-fix but also if you just moved the cypressSplit(on,config) at the top of the setupNodeEvents then that makes the plugin to work as expected.

closing this