allure-framework / allure-js

Allure integrations for JavaScript test frameworks
https://allurereport.org/
Apache License 2.0
225 stars 121 forks source link

[Allure & Cucumber-JS] In the Packages tab there is no separation by packages #736

Closed Zychkov closed 2 weeks ago

Zychkov commented 1 year ago

Description In the Packages tab there is no separation by packages. Tests are displayed as if they were in the same package.

allure-cucumberjs: 2.4.0 @cucumber/cucumber: 9.3.0

Steps to reproduce the behavior

  1. Create feature files with different nesting paths.
  2. Add and run tests.

Expected behavior allure-results json files must have entity with path &labels[*].name = package. It would allow when we go to the "Packages" tab to see the results of the test with a tree structure.

Screenshots Nesting structure: image

Report: image

baev commented 2 weeks ago

Fixed in 3.0.0

see https://allure-examples.github.io/cucumberjs-npm-esm-ts/11/index.html#packages/68abf559c778265fcdbf68b5a94a39e0/e2a67002f241fc8e/