Closed marcojahn closed 6 years ago
Hi @marcojahn
I've added a gist with some code of an old project. I hope you understand how I did it. This is the way to attach the difference to the cucumber report file.
https://gist.github.com/wswebcreation/31730968eff3ac654555f64a706409cb
I don't know if it works, but feel free to edit it
Grtz
Wim
Hi,
got the image comparison to work as expected and was able to attach the screenshot to an existing cucumber-html-report.
For the moment (a test case) the path + filename is hard coded. How can I get the name of the generated image ?
Aq quick hack could be to change the filename pattern to result in just
examplePage-chrome.png
...