I've been going through the documentation trying to implement the reporter and I've run into the below issue.
The documentation says we must run:
npm install --save-dev cypress-ctrf-json-reporter
however, in the import/require statement, it asks us to import: 'cypress-ctrf-json-report' - note the 'er' is missing - this is when comparing to the package name.
The initial import asks us to import generateCtrfJsonReport, but this method does not exist in the code as far as I can see. Doing a brief run through, the code has the method GenerateCtrfReport exported instead of generateCtrfJsonReport
When I make the above updates with importing, I run into this error:
Please let me know if I am missing out on anything or using this incorrectly. It will be greatly appreciated.
Hi,
I've been going through the documentation trying to implement the reporter and I've run into the below issue.
The documentation says we must run:
npm install --save-dev cypress-ctrf-json-reporter
however, in the import/require statement, it asks us to import:
'cypress-ctrf-json-report'
- note the 'er' is missing - this is when comparing to the package name.The initial import asks us to import
generateCtrfJsonReport
, but this method does not exist in the code as far as I can see. Doing a brief run through, the code has the methodGenerateCtrfReport
exported instead ofgenerateCtrfJsonReport
When I make the above updates with importing, I run into this error:
Please let me know if I am missing out on anything or using this incorrectly. It will be greatly appreciated.