small medium large xlarge

Generic-user-small
31 Jan 2016, 20:43
Richard Chernanko (2 posts)

Hi, I am on page 162 of the cucumber for java book.

When I run mvn clean test and then navigate to the out/index.html file, I am expecting to see an screenshot of my failing scenario (via the pretty plugin). However, all I see is the failing step marked in red with the stacktrace of the failure - there is no screenshot.

I know it’s difficult to understand this without seeing my code, but is there anything obvious that I am doing wrong?

Thanks, Richard

Generic-user-small
31 Jan 2016, 20:47
Richard Chernanko (2 posts)

Sods law, as soon as I post this message, I’ve fixed it…

I’d put “image.png” instead of “image/png” in the WebDriverHooks class…

You must be logged in to comment