-
Notifications
You must be signed in to change notification settings - Fork 238
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
Allure doesn't include information appended to Scenario or Feature description in before statements #279
Comments
Any update on above? @sseliverstov Could you please help with above query? Really need some feature to update the scenario name. |
Hi! Given the following input files:
If we run the behave with the following command:behave -f allure_behave.formatter:AllureFormatter -f pretty -o ./.allure-results/issue279 ./features/issue279.feature Then it will produce the following results:
Looks like If someone has different reproducible behavior, please, post it here. |
For future contribution:I took a look at how
Given this lifecycle, it`s no surprise that the changes are not reflected properly. And probably it is better to use formatter`s |
@delatrie Hi delatrie, is this bug fixed? I meet the same question in allure-behave(version:2.13.1). |
@Rexze001 It's not yet fixed, sorry. |
@delatrie It's okay, hope you guys can fix it soon. |
I'm submitting a ...
What is the current behavior?
If you include modify a Feature or Scenario description text in Behave's before_feature or before_scenario this is not reflected in the allure result.
Steps:
I've added something like this to my environment.py file
Then running with something like
behave -D server="testing" qa/functional/features/
What is the expected behavior?
The feature should have
on testing environment.
added to it on the allure report. And the scenario should have something likein chrome 68.0.3440.84
appended to the end of the name. Currently the allure report includes the feature and scenario descriptions without the appended information. Behave will include this appended information if I do not run with the formatter.What is the motivation / use case for changing the behavior?
I'm trying to edit the Scenario and feature names without using Tables.
Please tell us about your environment:
The text was updated successfully, but these errors were encountered: