Fix Steps bubbling in assertj aspect (fixes #1064) by a-simeshin · Pull Request #1159 · allure-framework/allure-java

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