When writing manual test cases, the test case title used to be something like
TC1: Verify that the user is able to login to facebook and react using heart.
When trying to automate the scenario using selenium+ TestNG, how to write meaningful test case titles.
Note: I believe that in TestNG, the test case name is the same as the method identifier under @test annotation
//Testcase 1
@Test
public void VerifyThatUserCanLoginToFaceebookAndReactUsingHeart() {
//Writeyourcodehere
}
Is it permissible to write such long method names or is there a better way to write test case names in TestNG or/and selenium.