meinaart / cypress-plugin-snapshots

Plugin for snapshot tests in Cypress.io
MIT License
491 stars 116 forks source link

feat: migrates `plugin.js` to be compatible with cypress 4.0.0 #91

Closed sybrendotinga closed 4 years ago

sybrendotinga commented 4 years ago

The event before:browser:launch has changed. This fix will make it compatible with cypress 4.0.0. But will break previous versions of Cypress!

https://docs.cypress.io/guides/references/migration-guide.html#Plugin-Event-before-browser-launch

BREAKING CHANGE: Upgraded configuration will break previous versions of Cypress!

vospascal commented 4 years ago

Yes update please

diggabyte commented 4 years ago

This pull request is incomplete.

I've created a new pull request which addresses the above issues: https://github.com/meinaart/cypress-plugin-snapshots/pull/96