I'm using @nrwl/react along with cypress-image-snapshot and having trouble executing the command --reporter cypress-image-snapshot/reporter.
When I run --reporter cypress-image-snapshot/reporter, it looks for the file node_modules/cypress-image-snapshot/reporter within the project-e2e file. But because I'm using nx, the node_modules folder is in the root directory not in project-e2e. How can I make these two commands work with nrwl? Any help would be greatly appreciated.
The folder structure looks like this for better clarity:
project-root/apps/project (frontend)
project-root/apps/project-e2e (cypress e2e)
project-root/node_modules
@yjcyun Does --reporter cypress-image-snapshot/reporter add diff images to the HTML or JUnit report? I am trying to get these screenshots for the last two days but no luck.
Hello,
I'm using @nrwl/react along with cypress-image-snapshot and having trouble executing the command
--reporter cypress-image-snapshot/reporter
.When I run
--reporter cypress-image-snapshot/reporter
, it looks for the file node_modules/cypress-image-snapshot/reporter within the project-e2e file. But because I'm using nx, the node_modules folder is in the root directory not in project-e2e. How can I make these two commands work with nrwl? Any help would be greatly appreciated.The folder structure looks like this for better clarity: project-root/apps/project (frontend) project-root/apps/project-e2e (cypress e2e) project-root/node_modules