False Failure in Test Case
In general: My test case is showing FAILED even though all the steps passed
Summary
I have a test where everything in it passes and once it completes it shows up as failed.
Expected Behavior
The test result should be PASSED
Sample
// Sample code goes here
Environment Details
- Extent report Version used: 3.1.2
- Operating System and version: Windows 10
- JDK Version: 1.8.0_151
Screenshots

@beedyb220 , the information seems incomplete , please share your implementation of extent report (what method you are using like listeners e.g ITestListener, IReporter OR you've directly implemented using TestListenerAdapter/TestNG annotations etc.)
Please see the console logs for any exceptions , if test log has some exception then :- where you are printing "{TEST_CASE_NAME} Test case {STATUS}" due to below issue(s), please add the below line :-
test.log(Status.INFO, result.getThrowable());
'result' will be replaced by the parameter variable used in that function.
then you can see the reason that why your test case is getting failed.
Thanks. There was an error in another piece of code causing this. Thanks!!
Welcome :) @anshooarora , You can close this .