allure-framework / allure-java

Allure integrations for Java test frameworks
Apache License 2.0
342 stars 219 forks source link

🐞: Cucumber-JVM - Suite view : Cannot organize tests by parent-suite, suite and sub-suite #994

Closed harmin-parra closed 5 months ago

harmin-parra commented 5 months ago

What happened?

I added the following annotations to my Cucumber-JVM test:

@allure.label.parentSuite:Cucumber
@allure.label.suite:Petstore
@allure.label.subSuite:CRUD
Feature: Petstore

  Scenario: Add a pet
    Given I have a pet store
    When I add a pet
    Then The pet is added

When I execute the test and generate the report, I don't get the expected suite hierarchy.

image

What Allure Integration are you using?

allure-cucumber7-jvm

What version of Allure Integration you are using?

2.25.0

What version of Allure Report you are using?

2.25.0

Code of Conduct

baev commented 5 months ago

fixed by https://github.com/allure-framework/allure2/pull/2326

Will be released as 2.27.0 soon