trivago / cluecumber

Clear and concise reporting for the Cucumber BDD JSON format.
https://www.softwaretester.blog
Apache License 2.0
271 stars 88 forks source link

expandBeforeAfterHooks setting is ignored #333

Closed bischoffdev closed 7 months ago

bischoffdev commented 7 months ago

also when manually trying to expand it requires not one, but two clicks. There is no .btn-outline-secondary anymore.

If I change this:

            if (${expandBeforeAfterHooks?c}) {
                $("button[data-cluecumber-item='before-after-hooks-button']").click();
            }
            if (${expandStepHooks?c}) {
                $("button[data-cluecumber-item='step-hooks-button']").click();
            }
            if (${expandDocStrings?c}) {
                $(".scenarioDocstring").collapse("show");
            }
            if (${expandPreviousScenarioRuns?c}) {
                $("button[data-cluecumber-item='show-not-last-runs-button']").click();
            }
        }

in js.ftl I fix the click, but not the initial state.