UiPathTest task is showing the stage as successful in the Jenkins, even if the test cases are passed.
Issue Description: When trying to run the existing test set in Orchestrator or executing the test cases post building the test automation project by specifying path to the test automation project, using the UiPathTest task in Jenkins the stage is showing as successful even if the execution or the test cases are failed.
Resolution: As per the current design, the behavior is expected that even though the test cases were failed it will mark them as executed successfully as mentioned in the above image but however the build itself is set to unstable as the test result contains failures.
In this scenario, to abort the build if test cases or execution is failed, do it based on the ‘unstable’ result, for the same refer to article as mentioned in Stop the pipeline when stage is unstable and implement the code as per the requirement.
Also, If Junit plugin is installed, the failed test result will be visible.