Help: Serenity report missing HTML file but has the XML and Json

542 views
Skip to first unread message

Joe Colantonio

unread,
Dec 5, 2017, 11:42:43 AM12/5/17
to Serenity BDD Users Group
Hi,

Having a strange issue. The report 'is being generated with all the high-level info but I'm unable to drill down on a serenity index.html file for a feature that has failed. 

I get the message "this page can't be displayed" or "file not found" when i try to click on the test steps.

When I look in the same results directory I see the Json and XML file that have the same name as the HTML file but no HTML file is found.

I tried regenerating the report with a serenity: aggregate command and get the same issue.

Any ideas?

Thanks,

Joe

Troy Best

unread,
Feb 19, 2018, 7:29:28 AM2/19/18
to Serenity BDD Users Group
I'm not sure your scenario or cause is the same but we had the identical end result. Here are the two scenarios we encountered:

One of our issues was path character length, on Windows only, that was resolved by adding to the runner file @CucumberOptions(  junit = {"--filename-compatible-names"} ).
Another issue that caused the same result was maven library conflict that was resolved by removing everything in ~/.m2/repository and rebuilding.
Reply all
Reply to author
Forward
0 new messages