Cucumber Scenario passed while test case/step failed

Hello

When I run a cucumber scenario it passes while I have inside a failed step !
Please note when I use FailureHandling.STOP_ON_FAILURE the scenario fails so it is ok. But when I use FailureHandling.CONTINUE_ON_FAILURE the scenario passes !
from what I know is that CONTINUE_ON_FAILURE should continue the scenarion execution with fail step but in the end it should fail the whole scenario as there is a step failed in it.

Please any help/explanation

3 Likes