How to customize the order of execution of tests in TestNG?
For example:
public class Test1 { @Test public void test1() { System.out.printl
I've faced the same issue, the possible reason is due to parallel execution of testng and the solution is to add Priority option or simply update preserve-order="true" in your testng.xml.