How to Continue the Test step execution , even on failure of a Test step in Cucumber
The whole point of assertion is to assert something, if not stop the further execution. We usually use assertions in situations where we know that if a particular thing fails there is no point in executing the test further.
I think what you are looking for is a simple Verify. Try to check for the condition and print a message in the report. Instead of applying assertion.
Are you using assertion in your test step? if there is an assertion in the test step or an exception, that test will cause the whole execution of the test to stop.
Try putting a try catch or not throwing an Assertion in that step and your execution will not stop.
use Verify or a custom check and log structure instead of assert. Assert is only used when you want to stop the execution of the test when it fails. In short at absolutely necessary conditions, without which there is no point in executing the test further.