Skip to content

Cypress 10. Plugin events - cannot add more than one listener to events #23465

Answered by lmiller1990
kpturner asked this question in Plugins
Discussion options

You must be logged in to vote

This sounds like a bug to me - we should be merging all the listeners together, so multiple plugins can use the same hook.

I wonder if it's getting clobbered here: https://github.com/cypress-io/cypress/blob/develop/packages/data-context/src/data/EventRegistrar.ts#L40

I think we should open an issue, sounds like a bug.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kpturner
Comment options

Answer selected by kpturner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants