Open jfstephe opened 6 months ago
I would welcome a PR to do this. Have a look at the freemarker template files for these reports (the filtering uses a Javascript library if I recall correctly so should be relatively straightforward to extend).
Thanks @wakaleo. I'm looking around it now and I think I'm getting somewhere with the code but I can't get it to build.
I'm using VSC and it fails with:
> Task :serenity-model:compileJava FAILED
FAILURE: Build failed with an exception
Screenshot:
Versions of everything I can think of that may be relevant:
Ubuntu: 20.04 Java: openjdk 11.0.22 2024-01-16 OpenJDK Runtime Environment (build 11.0.22+7-post-Ubuntu-0ubuntu220.04.1) OpenJDK 64-Bit Server VM (build 11.0.22+7-post-Ubuntu-0ubuntu220.04.1, mixed mode, sharing) mvn: Apache Maven 3.6.3 Kotlin: v1.9.23
I followed the CONTRIBUTING.md but I feel like I'm missing something obvious (it's been a while since I've done any java). When I run "mvn clean install" in the serenity-model folder it works, but wgradle doesn't like it.
Any ideas?
Thinking about it, could it be that I'm not using intelliJ?
Spent an hour trying to add in the missing gradle dependencies and it's killing me a little. Can improvements be made to document the expected development environment when contributing? I'm falling ATM but it's not a pit of success...
The Serenity build uses Maven, we dropped Gradle a while back when JCenter was shut down
@wakaleo - then the CONTRIBUTING.md really needs updating as it's talking about wgradle and there's all the gradle files still around :-(
What's the Problem You're Trying to Solve?
Team members want to filter the features by the steps/data and not just the feature/scenario description. This is not possible in the current offering.
Proposed Solution
The test steps are already available in the cucumber test results and in the Serenity BDD Reporter, this "just" needs to be included as terms to search on, in the filter.
Happy to make a PR if you point me where to go.
Alternative Solutions
N/A
Implementation Support