-
-
Notifications
You must be signed in to change notification settings - Fork 513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After upgrading to serenity 4.0.1 the serenity-summary.html report is not getting generated #3295
Comments
Read the 4.0.1 release notes. |
@wakaleo I've go through the release notes 4.0.1 https://github.com/serenity-bdd/serenity-core/blob/main/docs/release-notes/4.0.1.md and do the same steps but still I'm not able to get the serenity-summary.html report below are my whole pom.xml file `
` |
@wakaleo I've read the updated release document of 4.0.1 https://github.com/serenity-bdd/serenity-core/blob/main/docs/release-notes/4.0.1.md and update my project but still I'm not able to generate the serenity-summary.html report and in console the same error message. net.thucydides.core.reports.ExtendedReport: net.serenitybdd.reports.email.EmailReporter Unable to get public no-arg constructor: net/thucydides/core/util/EnvironmentVariables: net.thucydides.core.util.EnvironmentVariables -> �[1m[Help 1]�[m Please help me to fix this. Thanks! |
You still have old Serenity dependencies (e.g. serenity-emailer). Refer to https://github.com/serenity-dojo/wordle/blob/master/pom.xml for an example of the single page report in Serenity 4.x |
@wakaleo I'm able to fix this issue, now serenity-summary.html report is getting generated. We're good to close this issue. |
Hi @wakaleo , |
What happened?
I've upgraded my serenity project from 3.8.1 to 4.0.1 then the index.html report is generated but the serenity-summary.html report is not getting generated.
In console I'm getting below error.
net.thucydides.core.reports.ExtendedReport: net.serenitybdd.reports.email.EmailReporter Unable to get public no-arg constructor: net/thucydides/core/util/EnvironmentVariables: net.thucydides.core.util.EnvironmentVariables -> �[1m[Help 1]�[m
[ERROR] java.util.ServiceConfigurationError: net.thucydides.core.reports.ExtendedReport: net.serenitybdd.reports.email.EmailReporter Unable to get public no-arg constructor: net/thucydides/core/util/EnvironmentVariables: net.thucydides.core.util.EnvironmentVariables
What did you expect to happen?
serenity-summary.html report should be generated
Serenity BDD version
4.0.1
JDK version
17
Execution environment
No response
How to reproduce the bug.
Upgrade your project to serenity 4.0.1
run the project
serenity-summary.html report is not getting generated
How can we make it happen?
Add it to the Serenity BDD backlog and wait for a volunteer to pick it up
The text was updated successfully, but these errors were encountered: