Closed alyssaruth closed 1 year ago
Thanks for reporting and sharing the details @alyssa-glean. The real issue here is the ongoing issue in cypress runner: https://github.com/cypress-io/cypress/issues/5240
Please take a look at this plugin by @elaichenkov: https://elaichenkov.medium.com/overcoming-cypress-limitations-with-cypress-plugin-init-library-70c8249342be
Please let me know if you had any success with using it - will be happy to assist.
Before opening, please confirm:
Environment information
N / A
Describe the bug
Your documentation suggests to set up cypress-cloud as follows:
In our case, we had our own logic in
setupNodeEvents
, so what we've actually ended up with is this:This was working fine, until we recently bumped to 1.8.4 which pulled in this change. Because you now have your own implementation of
after:spec
, our own one got superceded and some of our own logic just silently stopped running.I could switch the statements around and apply your config and then ours, but without reading through your implementation I'm not sure if this would work. In general, this feels like a bit of a trap - and some explicit advice about the best way to manage our own config alongside that of
cypress-cloud
would be appreciated!We've reverted the version bump for the time being.
Expected behavior
N / A
Command and Setup
N / A
Full log and debug output
N / A