Skip to content

Allure AssertJ steps are duplicated as multiple sub-steps #1064

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
1 task done
Sundeltop opened this issue Jul 5, 2024 · 1 comment · May be fixed by #1159
Open
1 task done

Allure AssertJ steps are duplicated as multiple sub-steps #1064

Sundeltop opened this issue Jul 5, 2024 · 1 comment · May be fixed by #1159
Labels
type:bug Something isn't working

Comments

@Sundeltop
Copy link

What happened?

When some AssertJ assertion is executed (isEqualTo, isTrue etc), it is duplicated in report as multiple sub-steps
image

Caused by @Pointcut("execution(public * org.assertj.core.api.AbstractAssert+.*(..)) && !proxyMethod()") matching multiple assertion methods being called

What Allure Integration are you using?

allure-assertj

What version of Allure Integration you are using?

2.27.0

What version of Allure Report you are using?

2.27.0

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Sundeltop Sundeltop added triage type:bug Something isn't working labels Jul 5, 2024
@baev baev removed the triage label Jul 5, 2024
@baev
Copy link
Member

baev commented Jul 5, 2024

Agree. Feel free to send a PR with the pointcut improvements!

@a-simeshin a-simeshin linked a pull request Apr 19, 2025 that will close this issue
2 tasks
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 a pull request may close this issue.

2 participants