I am new to the Automation testing and I am using softAssert(), I am creating one user For example: "User1" and when I search for the same user that is "User1",then it shows result as "No Result Found". So ideally my test case should get break but it still get passed.I print the actual and expected value both are different but it is still passing the test case.Please help me out. My code is:
softAssert.assertEquals(lookupTypeRecordFound.getText(), looupTypeName);