Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

on after:spec does not allow multiple callbacks 馃く #29

Open
bahmutov opened this issue Oct 26, 2022 · 1 comment
Open

on after:spec does not allow multiple callbacks 馃く #29

bahmutov opened this issue Oct 26, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@bahmutov
Copy link
Owner

setupNodeEvents(on, config) {
  on('after:spec', (spec, results) => {
    console.log('after spec 1')
  })

  on('after:spec', (spec, results) => {
    console.log('after spec 2')
  })
}

Only shows after spec 2 message

@bahmutov bahmutov added the bug Something isn't working label Oct 26, 2022
@bahmutov
Copy link
Owner Author

Seems to be caused by cypress-io/cypress#24410

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant