Skip to content

Commit

Permalink
Added the generateFullReport option to the Serenity maven plugin to g…
Browse files Browse the repository at this point in the history
…ive the option to deactivate the full HTML report generation
  • Loading branch information
wakaleo committed Nov 19, 2024
1 parent 172a7e2 commit 9880d6e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public class SerenityAggregatorMojo extends AbstractMojo {
* Set to 'false' if you don't want to generate the full Serenity HTML report, but do want to produce other reports
* such as the single page HTML report.
*/
@Parameter(defaultValue = "true")
@Parameter(property = "serenity.generateFullReport")
public Boolean generateFullReport;

EnvironmentVariables environmentVariables;
Expand Down Expand Up @@ -216,7 +216,7 @@ public void execute() throws MojoExecutionException, MojoFailureException {
prepareExecution();

try {
if (generateFullReport) {
if (generateFullReport == null || generateFullReport) {
generateHtmlStoryReports();
}
generateExtraReports();
Expand Down

0 comments on commit 9880d6e

Please sign in to comment.