Skip to content

Commit

Permalink
Fix web test
Browse files Browse the repository at this point in the history
  • Loading branch information
timja committed May 27, 2019
1 parent c6ed5f3 commit a056a6f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,9 @@ public void givenAViewWithTheFailureCauseColumnWithTextDisplayTheFirstFailureCau

WebClient webClient = j.createWebClient();
HtmlPage page = webClient.goTo("view/columnwithtext");
System.out.println(page.getTextContent());
assertNotNull("Couldn't find the failure cause image in columnwithtext view",
page.getFirstByXPath("//img[@Title='Failure Builder']"));
page.getFirstByXPath("//img[@title='Failure Builder']"));
assertNotNull(page.getFirstByXPath("//*[.='Failure Builder']"));
}

Expand Down

0 comments on commit a056a6f

Please sign in to comment.