Skip to content

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