cypress-image-snapshot
cypress-image-snapshot copied to clipboard
How to get snapshot diffs in Mochawesome Reporter
Hi, I'm trying to add the snapshot diff to the test context so it'll appear in my Mochawesome Report.
Is there a way for me to get the diffOutputPath
in the on:after:test
callback so I can add it to the test context?
I saw that you write test result metadata to a file cache so that your reporter can generate it's report, but I'm unable to access this file cache in that callback as I believe it's client side.
Thanks!
Any updates on this please?
@jrhone @lukasmatiasko Are you guys able to add the snapshot diff to the test context to show in Mochawesome Report?
Hi, I found a solution and I posted it on stackoverflow : https://stackoverflow.com/q/62141050/9540653
How can we get the value of "diffOutputPath"? change to use relative path instead of absolute path