Hi,
I'm trying to use cy.matchImageSnapshot(key) on GitLab CI with docker image, but I'm having the following error:
CypressError: cy.task('Matching image snapshot') 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:
/builds/project/cypress/plugins/index.js
https://on.cypress.io/api/task
It works perfectly when I'm running the specs locally but strangely it fail when they are runned on the docker image cypress/included:3.8.0 by the gitlab CI.
Hi, I'm trying to use
cy.matchImageSnapshot(key)
on GitLab CI with docker image, but I'm having the following error:It works perfectly when I'm running the specs locally but strangely it fail when they are runned on the docker image cypress/included:3.8.0 by the gitlab CI.
I have in plugins\index.js :
in support\commands.js :
Package.json
I can't find what I missed. Thanks