diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f159a60..69012b0a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. Back to [Readme](README.md). +## [3.6.1] - 2024-03-15 + +### Fixed + +* expandBeforeAfterHooks setting is ignored [#333] +* Html attachments could have a height of 0 on first load + +### Changed +* Toggle buttons for all steps, hooks, attachments, outputs and sub sections have now specific "Hide" and "Show" labels + ## [3.6.0] - 2024-03-14 ### Fixed @@ -849,6 +859,7 @@ the core component is now the reporting engine that is the base for other forms Initial project version on GitHub and Maven Central. +[3.6.1]: https://github.com/trivago/cluecumber-report-plugin/tree/v3.6.1 [3.6.0]: https://github.com/trivago/cluecumber-report-plugin/tree/v3.6.0 [3.5.1]: https://github.com/trivago/cluecumber-report-plugin/tree/v3.5.1 diff --git a/core/pom.xml b/core/pom.xml index 489f6fae..b05cd32e 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -6,13 +6,13 @@ 4.0.0 cluecumber-core - 3.6.0 + 3.6.1 jar cluecumber-parent com.trivago.rta - 3.6.0 + 3.6.1 Cluecumber Core diff --git a/engine/pom.xml b/engine/pom.xml index 2c95b0a5..4e0215bc 100644 --- a/engine/pom.xml +++ b/engine/pom.xml @@ -8,11 +8,11 @@ cluecumber-parent com.trivago.rta - 3.6.0 + 3.6.1 cluecumber-engine - 3.6.0 + 3.6.1 jar Cluecumber Engine diff --git a/engine/src/main/java/com/trivago/cluecumber/engine/json/pojo/Argument.java b/engine/src/main/java/com/trivago/cluecumber/engine/json/pojo/Argument.java index 92fd5b88..13f3f53f 100644 --- a/engine/src/main/java/com/trivago/cluecumber/engine/json/pojo/Argument.java +++ b/engine/src/main/java/com/trivago/cluecumber/engine/json/pojo/Argument.java @@ -15,23 +15,46 @@ */ package com.trivago.cluecumber.engine.json.pojo; +/** + * The Argument class represents a Cucumber step argument. + */ public class Argument { private String val; private int offset; + /** + * Gets the value of the argument. + * + * @return A string representing the value of the argument. + */ public String getVal() { return val; } + /** + * Sets the value of the argument. + * + * @param val A string representing the value to be set. + */ public void setVal(final String val) { this.val = val; } + /** + * Gets the offset of the argument. + * + * @return An integer representing the offset of the argument. + */ public int getOffset() { return offset; } + /** + * Sets the offset of the argument. + * + * @param offset An integer representing the offset to be set. + */ public void setOffset(final int offset) { this.offset = offset; } -} +} \ No newline at end of file diff --git a/engine/src/main/resources/template/scenario-detail.ftl b/engine/src/main/resources/template/scenario-detail.ftl index 8fcc1570..991e05ed 100644 --- a/engine/src/main/resources/template/scenario-detail.ftl +++ b/engine/src/main/resources/template/scenario-detail.ftl @@ -80,7 +80,7 @@ preheadlineLink="pages/feature-scenarios/feature_${element.featureIndex?c}.html" <#if groupPreviousScenarioRuns && element.getIsNotLastOfMultipleScenarioRuns()>
@@ -89,43 +89,37 @@ preheadlineLink="pages/feature-scenarios/feature_${element.featureIndex?c}.html" <#if element.hasSubSections()> - <#if element.hasHooks() && element.hasHooksWithContent()> - <#if element.hasStepHooks() && element.hasStepHooksWithContent()> - <#if element.hasDocStrings()> - <#if element.hasAttachments()> - <#if element.hasOutputs()> - @@ -134,29 +128,31 @@ preheadlineLink="pages/feature-scenarios/feature_${element.featureIndex?c}.html"