serenity-bdd / serenity-core

Serenity BDD is a test automation library designed to make writing automated acceptance tests easier, and more fun.
http://serenity-bdd.info
Other
719 stars 516 forks source link

I upgraded serenity version to 4.1.0 , but the serenity bdd report is broken when viewing the test detail. #3510

Open WendyTovarRojas opened 1 month ago

WendyTovarRojas commented 1 month ago

What happened?

I updated my project version to serenity 4.1.0, I am automating some API's but the report has broken links.

image image

What did you expect to happen?

No response

Serenity BDD version

4.1.0

JDK version

11

Execution environment

No response

How to reproduce the bug.

Upgrade serenity version to 4.1.0 run automation project for API rest

How can we make it happen?

Work on this myself and propose a PR (with Serenity BDD team guidance)

wakaleo commented 1 month ago

I can't reproduce this, but make sure you run mvn clean verify, and try running with the serenity.compress.filenames property set to false to see what file it is trying to access.

carlosjs23 commented 1 month ago

@WendyTovarRojas are you using Gradle? the Serenity Gradle Plugin wasn't generating the HTML reports from the JSON files, you can try with the latest Serenity Gradle Plugin Version 4.1.14 where the issue is fixed.

freerider2000 commented 1 month ago

Hi @carlosjs23, thanks for the suggestion! I was having the same issue with version 4.1.12. I just updated all the serenity libraries to 4.1.14 and the issue is fixed. No more broken links in the test cases within the serenity report.