Skip to content

Commit

Permalink
Update invalid past and future messages in test
Browse files Browse the repository at this point in the history
#187090179
  • Loading branch information
enyia21 committed Feb 29, 2024
1 parent 7e43e38 commit 8069ee3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/org/ilgcc/app/journeys/GccFlowJourneyTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void fullGccFlow() {
testPage.enter("ccapStartDay", "1");
testPage.enter("ccapStartYear", "1889");
testPage.clickContinue();
assertThat(testPage.hasErrorText("Invalid future start date: Please enter the date your child will start care in this format: mm/dd/yyyy")).isTrue();
assertThat(testPage.hasErrorText("Please enter the date your child will start care in this format: mm/dd/yyyy")).isTrue();
testPage.enter("ccapStartMonth", "1");
testPage.enter("ccapStartDay", "1");
testPage.enter("ccapStartYear", "1989");
Expand Down Expand Up @@ -100,7 +100,7 @@ void fullGccFlow() {
testPage.enter("ccapStartDay", "1");
testPage.enter("ccapStartYear", "1889");
testPage.clickContinue();
assertThat(testPage.hasErrorText("Invalid past child care start date: Please enter the date your child started care in this format: mm/dd/yyyy")).isTrue();
assertThat(testPage.hasErrorText("Please enter the date your child started care in this format: mm/dd/yyyy")).isTrue();
testPage.enter("ccapStartMonth", "11");
testPage.enter("ccapStartDay", "1");
testPage.enter("ccapStartYear", "2010");
Expand Down

0 comments on commit 8069ee3

Please sign in to comment.