Skip to content

Any way to make screenshot when soft assertion failed? #2489

Answered by scordio
borzykin asked this question in Q&A
Discussion options

You must be logged in to vote

There are two options:

Both ways allow you to provide your own logic to be executed with each assertion error.

You can find examples about both solutions in the AssertJ documentation.

Related: https://stackoverflow.com/questions/68510688

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by joel-costigliola
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants