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

Fix updates in Cucumber tests with fixtures (fixes #483) #531

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

elantsov
Copy link

Context

In Cucumber (Cucumber Spring in particular) when there is CucumberContextConfiguration class with Before/After fixtures it's impossible to attach links from steps and fixtures and in case of failed test the stacktraces are not getting attached as well.

In logs there appears something like:
ERROR io.qameta.allure.AllureLifecycle - Could not update test case: test case with uuid Example featuref213ed63-0e65-4e12-bf6a-ae5e40565d1cdummy step6 not found

The reason for this is that in AllureLifecycle methods startFixture and stopFixture contain thread context cleanup removing the information about the root (test case uuid).

Checklist

@elantsov elantsov changed the title Fix updates in Cucumber tests with fixtures (fixes #483\) Fix updates in Cucumber tests with fixtures (fixes #483) Mar 25, 2021
@baev baev added the type:bug Something isn't working label Mar 26, 2021
@elantsov
Copy link
Author

Hey guys! Any chance this will be merged anytime soon? This is a significant issue for those using Allure with Cucumber.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants