Selenium Java - TestNG Integration
What is wrong with this TestNG test method if we want
testB to run only after testA completes successfully?@Test
public void testA() { }
@Test(dependsOnMethods = {"testA"})
public void testB() { }
@Test(dependsOnMethods = {"testC"})
public void testC() { }