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

scenario description is not displaying on report in pytest_bdd #652

Closed
1 task done
EsakkiappanA opened this issue Mar 7, 2022 · 2 comments
Closed
1 task done
Labels
task:new feature Requesting new capability or software feature theme:pytest-bdd

Comments

@EsakkiappanA
Copy link

I'm submitting a ...

  • bug report

What is the current behavior?

I tried to display the scenario description on report. I followed two way:

  1. Gave the description in feature file like below:
    image

  2. Gave the description in test_definition file(tried with @allure.description / allure.dynamic.description / doc string)
    image

Report is not containing description:
image

In both the steps it is not displaying the description like allure_pytest. Do we have any description support for allure_pytest_bdd?

What is the expected behavior?

image

Please tell us about your environment:

  • Allure version: 2.9.45
  • Test framework: pytest-bdd@4.0.1 and pytest@6.2.5
  • Allure adaptor: allure-pytest-bdd@2.9.5

Other Information:

I tried the same with allure-pytest and it working fine. But not with allure_pytest_bdd. In allure_pytest the execution body is not looking good and not in gherkin format.

@delatrie
Copy link
Contributor

Neither description from feature file nor allure nor allure.dynamic functions except allure.attach and allure.attach.file are currently supported in allure-pytest-bdd.

@delatrie delatrie added theme:pytest-bdd task:new feature Requesting new capability or software feature labels Jan 18, 2023
@delatrie
Copy link
Contributor

Duplicate of #726
Merged multiple related issues into a single one.

@delatrie delatrie closed this as not planned Won't fix, can't repro, duplicate, stale Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task:new feature Requesting new capability or software feature theme:pytest-bdd
Projects
None yet
Development

No branches or pull requests

2 participants