Change-Id: I6a2745c59c468aa2fbc45032a8478f533494b181
public void testCaptionLeak() throws Exception {
setDebug(true);
openTestURL();
+ openDebugLogTab();
// this should be present
// 3 general non-connector elements, none accumulated on click
public void testNoCaptionLeak() throws Exception {
setDebug(true);
openTestURL();
+ openDebugLogTab();
getDriver().findElement(By.xpath("//button[@title = 'Clear log']"))
.click();
public void testSpacingLeak() throws Exception {
setDebug(true);
openTestURL();
+ openDebugLogTab();
getDriver().findElement(By.id("addbutton")).click();
getDriver().findElement(By.xpath("//button[@title = 'Clear log']"))
.click();
setDebug(true);
openTestURL();
+ openDebugLogTab();
+
startTimer();
waitUntilServerCounterChanges();
}
}
+ protected void openDebugLogTab() {
+ findElement(By.xpath("//button[@title='Debug message log']")).click();
+ }
+
}