kien-ht / cypress-image-diff-html-report

A HTML reporting module for Cypress-Image-Diff to parse the JSON output into a beautiful report
MIT License
28 stars 3 forks source link

Unable to generate #12

Closed nemonemi closed 7 months ago

nemonemi commented 7 months ago

I am trying this library, and regardless of what I do, it doesn't work.

I've tried running the command without any configuration, passing it inline or creating a configuration file with the required props, but nothing helps.

➜  cypress-image-diff-html-report generate -c reportJsonDir="./cypress-image-diff-html-report"

[cypress-image-diff-html-report]: Given reportJsonDir does not exist /home/develop/my-repo/cypress-image-diff-html-report. Make sure you specify a valid reportJsonDir or reportJsonFilePath
kien-ht commented 7 months ago

Hi @nemonemi , are you sure you have run the test and had the report json in place?

nemonemi commented 7 months ago

Hi @kien-ht, your quick response is much appreciated.

I am using this library through another library, and that is where I've experienced but I found a way how to