Skip to content

Commit

Permalink
for troubleshooting only
Browse files Browse the repository at this point in the history
  • Loading branch information
brentjk committed Oct 3, 2023
1 parent ebb37fa commit f3afbb4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cws-test/src/test/java/jpl/cws/test/WebTestUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,9 @@ protected boolean findOnPage(String text) {
}

if (!found) {
log.error("TEMP: " + driver.getPageSource());
log.info("TEMP: " + driver.getPageSource());
log.error("text '" + text + "' NOT FOUND on page");
Assert.fail("text '" + text + "' NOT FOUND on page");
Assert.fail("text '" + text + "' NOT FOUND on page" + "\n\nTEMP: " + driver.getPageSource());
}
log.info("text '" + text + "' found on page -- [OK]");
return found;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ public void runStartInitiatorTest() throws IOException {
"</beans>",
"",
"");
log.info("TEMP: " + initiatorXML);
aceEditor.sendKeys(initiatorXML.replace(" ", ""));

aceEditor.sendKeys(initiatorXML.replace(" ", ""));
log.info("TEMP: " + initiatorXML);
waitForElementID("saveXmlBtn");
log.info("Saving changes..");
driver.findElement(By.id("saveXmlBtn")).click();
Expand Down

0 comments on commit f3afbb4

Please sign in to comment.