flotwig / cypress-log-to-output

A Cypress plugin that sends all logs that occur in the browser to stdout in the terminal.
146 stars 19 forks source link

feat: update plugin to be compatible with Cypress 10. #23

Open admah opened 2 years ago

admah commented 2 years ago

BREAKING CHANGE: updates config for Cypress 10 and updates plugin to use es6 import/exports.

Closes #22

kpturner commented 2 years ago

I have found that the plugin still works OK (10.6.0) without any changes UNLESS you have a plugin after it that also adds a listener to before:browser:launch afterwards. Dunno if this is an issue with Cypress or not.

See https://github.com/cypress-io/cypress/discussions/23465