I was able to run tests using tags without error. But when I ran the tests on azure pipeline, I got Error: Cannot find module 'cypress-grep/src/plugin'.
This error sometimes happens (not always). Note that node_modules, cypress folder, cypress.json are under the root react project, same folder level.
Hi,
I followed documentation to install cypress-grep package and added configs:
// cypress/plugins/index.js module.exports = (on, config) => { require('cypress-grep/src/plugin')(config)
return config }
I was able to run tests using tags without error. But when I ran the tests on azure pipeline, I got Error: Cannot find module 'cypress-grep/src/plugin'. This error sometimes happens (not always). Note that node_modules, cypress folder, cypress.json are under the root react project, same folder level.
Do you have any advice for me on this error?