Skip to content
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 trying to customize summary report with adding extra field URL to display when test case returns success. #3614

Open
3 tasks
AmarjeetSinghMatharu opened this issue Feb 12, 2025 · 2 comments

Comments

@AmarjeetSinghMatharu
Copy link

What's the Problem You're Trying to Solve?

@wakaleo I am trying to customize summary report with adding extra field URL to display when test case returns success.
I am not getting appropriate place in JAVA to do that !

Do I have to learn kotlin and gradle compilation to achieve this or a change in JAVA class and maven building of libraries will help this done? Please advise.

I went through your replies at #2183 and articles at : https://serenity-bdd.github.io/docs/reporting/reports_custom_info
but that is not my requirement.

Proposed Solution

Need to customize summary report with more data to show in table under Full Test Results

Alternative Solutions

No response

Implementation Support

  • Contribute the feature myself (with guidance from the Serenity BDD team)
  • Hire the Serenity BDD team for implementation
  • Add it to the Serenity BDD backlog and wait for community contribution
@AmarjeetSinghMatharu
Copy link
Author

I want to have a URL of the wab page visited in the Summary report in case of SUCCESS test case.
Basically at a point below marked in the red border.
Any suggestion I can do it without modyfying the source code and using some available variables.?
Your suggestions are highly valuable.

Image

@AmarjeetSinghMatharu
Copy link
Author

@wakaleo I am able to compile and use the compiled library in my automation FW and get a dummay expected change as follow:

Image

Could you please advise me as how to bring the data to this point? is it wise to use it here:

Hello World! Error Message

in serenity-summary-report-inlined.html file.

I am strugging to get the data at this html label.
Thank you for your time .
Warm Regards
Amarjeet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant