Skip to content

Commit

Permalink
Better wording
Browse files Browse the repository at this point in the history
  • Loading branch information
BalusC committed Nov 15, 2022
1 parent a1581ef commit 243c163
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public void test() throws Exception {
HtmlPage page = getPage("issue5140.xhtml");
DomElement unexpectedElement = page.getElementById("Field");
DomElement expectedElement = page.getElementById("testInputIdField");
assertTrue("unexpected element does not exist", unexpectedElement == null);
assertTrue("unexpected element may not exist", unexpectedElement == null);
assertTrue("expected element exists", expectedElement != null);
assertEquals("ui:insert content is present", "ui:insert content", expectedElement.asNormalizedText());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public void test() throws Exception {
DomElement outputText = page.getElementById("outputText");
assertTrue("outputText does exist", outputText != null);
assertTrue("panelGroup does contain parargaph", panelGroup.asNormalizedText().contains("paragraph"));
assertFalse("panelGroup does not contain outputText", panelGroup.asNormalizedText().contains("outputText"));
assertFalse("panelGroup may not contain outputText", panelGroup.asNormalizedText().contains("outputText"));
assertTrue("body does contain outputText", page.getBody().asNormalizedText().contains("outputText"));
}

Expand Down

0 comments on commit 243c163

Please sign in to comment.