Skip to content

Fix Steps bubbling in assertj aspect (fixes #1064) #1159

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

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

Conversation

a-simeshin
Copy link
Contributor

@a-simeshin a-simeshin commented Apr 19, 2025

Context

Fix Steps bubbling in assertj aspect (fixes #1064).

I'm not sure if the problem can be fixed for all scenarios via a PointCut expression, so I suggest adding an explicit condition in the code to track the creation of duplicate steps.

This functionality requires access to the last step created, and such functionality unfortunately does not exist, so I also suggest introducing a new method in AllureLifeCycle to get the last StepResult.

Checklist

@github-actions github-actions bot added theme:assertj AssertJ related issue theme:core labels Apr 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme:assertj AssertJ related issue theme:core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allure AssertJ steps are duplicated as multiple sub-steps
1 participant