Skip to content
This repository has been archived by the owner on Apr 11, 2018. It is now read-only.

Commit

Permalink
moving validation tests to fundamental tests source
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Fryc committed Mar 19, 2013
1 parent c306494 commit f6752ca
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ protected HtmlPage submitValueAndCheckMessage(String value, Matcher<String> matc

protected void checkMessage(HtmlPage page, String messageId, Matcher<String> matcher) {
HtmlElement message = page.getElementById(messageId);
assertThat(message.getTextContent(), matcher);
assertThat(message.getTextContent().trim(), matcher);
}

protected HtmlPage submit(HtmlPage page) throws IOException {
Expand Down

0 comments on commit f6752ca

Please sign in to comment.