Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package view for behave tests - The class label isn't displayed in the tree #789

Open
1 of 3 tasks
harmin-parra opened this issue Jan 24, 2024 · 0 comments
Open
1 of 3 tasks

Comments

@harmin-parra
Copy link

harmin-parra commented Jan 24, 2024

I'm submitting a ...

  • bug report
  • feature request
  • support request => Please do not submit support request here, see note at the top of this template.

What is the current behavior?

The documentation says that it is posible to personalize the package, class and method of Behave tests in the Package view.
https://allurereport.org/docs/behave/

The class label isn't displayed in the report.

image

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

Execute:

@allure.label.package:cucumber
Feature: Calculator

  @allure.label.testClass:Calculator
  @allure.label.testMethod:add()
  Scenario Outline: Addition
    Given I have a calculator
    When I add "<x>" and "<y>"
    Then the calculator returns "<sum>"

    Examples:
      |  x  |  y | sum |
      |  1  |  1 |  2  |
      |  2  |  1 |  3  |
      |  2  |  7 |  9  |

Generate the rapport

Open the Package view

Result: The class Calculator is not displayed in the tree

The actual tree is:

- cucumber
   - #3 add
   - #2 add
   - #1 add

What is the expected behavior?

The class Calculator is displayed in the tree

The expected tree is:

- cucumber
   - Calculator
      - #3 add
      - #2 add
      - #1 add

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

Other information

@harmin-parra harmin-parra changed the title Package view for behave tests - The class and method labels aren't display in the tree Package view for behave tests - The class label isn't displayed in the tree Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant