Index: lams_tests/tests/org/lamsfoundation/lams/author/BranchingTests.java =================================================================== RCS file: /usr/local/cvsroot/lams_tests/tests/org/lamsfoundation/lams/author/BranchingTests.java,v diff -u -r1.5 -r1.6 --- lams_tests/tests/org/lamsfoundation/lams/author/BranchingTests.java 28 Oct 2014 12:58:40 -0000 1.5 +++ lams_tests/tests/org/lamsfoundation/lams/author/BranchingTests.java 4 Nov 2014 21:47:56 -0000 1.6 @@ -34,7 +34,6 @@ import org.openqa.selenium.Point; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; -import org.openqa.selenium.interactions.SendKeysAction; import org.openqa.selenium.support.PageFactory; import org.testng.Assert; import org.testng.annotations.AfterClass; @@ -100,7 +99,7 @@ @AfterClass public void afterClass() { - //driver.quit(); + driver.quit(); } /** @@ -289,6 +288,8 @@ // Assert String assertBranchingTitle = fla.branchingProperties(randomBranchingName).getBranchingTitle(); + //System.out.println("assertBranchingTitle: " + assertBranchingTitle + " " + randomBranchingName); + Assert.assertEquals(assertBranchingTitle.trim(), randomBranchingName, "Branching title is wrong"); } Index: lams_tests/tests/org/lamsfoundation/lams/monitor/AddLessonTests.java =================================================================== RCS file: /usr/local/cvsroot/lams_tests/tests/org/lamsfoundation/lams/monitor/AddLessonTests.java,v diff -u -r1.3 -r1.4 --- lams_tests/tests/org/lamsfoundation/lams/monitor/AddLessonTests.java 29 Oct 2014 22:01:28 -0000 1.3 +++ lams_tests/tests/org/lamsfoundation/lams/monitor/AddLessonTests.java 4 Nov 2014 21:47:56 -0000 1.4 @@ -588,11 +588,11 @@ // Gets all the nodes in the user's folder List designs = addLesson.openLessontab().getFolderNodes("user"); - System.out.println("# of designs:" + designs.size()); + // System.out.println("# of designs:" + designs.size()); int randomDesign = Integer.parseInt(LamsUtil.randInt(1, designs.size()-1)); - System.out.println("randomDesign : " + randomDesign ); + //System.out.println("randomDesign : " + randomDesign ); addLesson .openLessontab() Index: lams_tests/tests/org/lamsfoundation/lams/pages/author/ConditionsPropertiesPage.java =================================================================== RCS file: /usr/local/cvsroot/lams_tests/tests/org/lamsfoundation/lams/pages/author/ConditionsPropertiesPage.java,v diff -u -r1.1 -r1.2 --- lams_tests/tests/org/lamsfoundation/lams/pages/author/ConditionsPropertiesPage.java 20 Oct 2014 17:31:46 -0000 1.1 +++ lams_tests/tests/org/lamsfoundation/lams/pages/author/ConditionsPropertiesPage.java 4 Nov 2014 21:47:56 -0000 1.2 @@ -287,7 +287,7 @@ public ConditionsPropertiesPage setConditionName(String conditionName, String order) { String inputXpath = RANGE_CONDITIONS_OPTION_LABEL.replace(" ", order); - System.out.println("inputXpath: " + inputXpath); + //System.out.println("inputXpath: " + inputXpath); WebElement input = driver.findElement(By.xpath(inputXpath)); @@ -362,7 +362,7 @@ String name = condition.getText(); if (conditionName.equals(name.trim())) { - System.out.print("condition name: " + name); + //System.out.print("condition name: " + name); condition.click(); break; } @@ -381,7 +381,7 @@ // that it matches even when we don't know which one is the default branch if (branchName.equals(name.replace("(default)", "").trim())) { - System.out.println(" matching with branch name: " + name); + //System.out.println(" matching with branch name: " + name); branch.click(); break; }