-
-
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
I am unable to add custom fields to Serenity Reports (using the latest version) #1454
Comments
@EshaDoda did you find a resolution to this? I haven't been able to get it working on the HTML reports using Serenity version 2.0.40 and serenity-gradle-plugin 2.0.40 @wakaleo I could only find use of |
Update: this works for the "emailable" report, and seems like it's only been implemented for that. This feature would be very useful for the aggregate report as well. |
This feature will be very helpful, if we have it in HTML reports too. |
My company is using these generated HTML aggregate reports to display automation results across the organization, but the lack of any custom fields in these reports adds a lot of confusion since there is no context to which branch/build/test suite a report is correlated with. If we had these fields it would make Serenity much more useful for our needs. We've invested a considerable amount of effort into adopting this framework and it would be nice if this feature were seriously contemplated for near-future updates. |
Would you be able to take a look and provide a PR? Or, if your company finds value in this feature and in Serenity in general, have you considered raising a support ticket or getting commercial support? |
Hello there, any news on this ticket? I'm facing a similar problem and I'm not sure if I should raise a new ticket. My problem is:
As you can see on the screenshot, some custom fields are taken directly from the serenity.conf; some others come from the system properties (which are initialized by for instance, gradle tasks.) I also tried passing them as command line arguments. Still no change on the report. if I change, say, the field version in my serenity.conf, that change won't be reflected in the report unless I delete the IntelliJ cache. Currently using: Any help will be highly appreciated and happy to add additional information. Thank you very much. |
This has been working stable for me, but a lot has changed since I posted my question (see above):
To me this is a closed topic. Thanks a lot and keep up the great work! |
Hi,
I am trying to add Custom Fields to Serenity report mentioned in this link: https://serenity-bdd.github.io/theserenitybook/latest/extended-reports.html
serenity version: 2.0.17.
Tried by adding ApplicationVersion information in serenity properties file in this format
"report.customfields.ApplicationVersion = 1.2.3"
Also, tried using below command, but in vain
mvn serenity:aggregate -DHOST=$HOST -Dreport.customfields.ApplicationVersion=1.2.4
Please find below the details:
org.springframework.boot
spring-boot-starter-parent
2.0.5.RELEASE
Let me know if any other information is required.
The text was updated successfully, but these errors were encountered: