Closed CyrilKrylatov closed 4 years ago
Is fixed in latest version.
Thank you for your quick reply!
I updated cypress-plugin-snapshots to its last version (1.4.3) and now I have the following error with the same configuration as above:
cypress_runner.js:171559 Error: CypressError: `cy.task('cypress-plugin-snapshot:getFile')` failed with the following error:
The 'task' event has not been registered in the plugins file. You must register it before using cy.task()
Fix this in your plugins file here:
false
https://on.cypress.io/api/task
Because this error occurred during a `before all` hook we are skipping all of the remaining tests.
Did I miss something?
Thank you!
Describe the bug Hello everyone,
The
import 'cypress-plugin-snapshots/commands'
part in support/index.js as described here seems to not work as it's not importing the commands.To Reproduce Steps to reproduce the behavior:
cypress/
folderyarn add -D cypress-plugin-snapshots
./support/index.js
, putimport 'cypress-plugin-snapshots/commands'
in thereExpected behavior To not have this error
Screenshots
Desktop (please complete the following information):
Additional context Thank you for your answers and thank you for this plugin!