diff --git a/src/test/java/org/fremo/fredl/test/BasicTest.java b/src/test/java/org/fremo/fredl/test/BasicTest.java index c373f62..7fc6927 100644 --- a/src/test/java/org/fremo/fredl/test/BasicTest.java +++ b/src/test/java/org/fremo/fredl/test/BasicTest.java @@ -40,7 +40,7 @@ public class BasicTest { Assert.assertEquals(getTitle, "FREDL"); } - @Test + @Test (dependsOnMethods={"verifyFredlPageTitle"}) public void verifyLoginAsSystemUser() { System.out.println("----------------------------- verifyLoginAsSystemUser ----------------------------------"); driver.navigate().to(URL); @@ -95,7 +95,7 @@ public class BasicTest { driver.switchTo().parentFrame(); } - @Test + @Test (dependsOnMethods={"verifyLoginAsSystemUser"}) public void verifyExistenceOfMainMenuButtons() { System.out.println("----------------------------- verifyExistenceOfMainMenuButtons ----------------------------------"); driver.navigate().refresh(); @@ -123,7 +123,7 @@ public class BasicTest { driver.switchTo().parentFrame(); } - @Test + @Test (dependsOnMethods={"verifyExistenceOfMainMenuButtons"}) public void verifyLogout() { System.out.println("----------------------------- verifyLogout ----------------------------------"); //driver.switchTo().defaultContent();