Skip to content

Commit

Permalink
[NFDIV-4530] Update nightly functional tests following recent fronten…
Browse files Browse the repository at this point in the history
…d releases (#3997)

* Update form failures test

* Add missing page into respondent tests

* Change final order button text test assertion
  • Loading branch information
adamg-hmcts authored Nov 20, 2024
1 parent de8c2c4 commit 4aeae8e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/test/functional/features/form-failures.feature
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ Feature: Form failures
And I click "I believe that the facts stated in this application are true"
When I click "Continue to payment"
And I pay and submit the application
Then the page should include "Application submitted"
Then the page should include "Application saved"
Given a case worker issues the application
And I enter my valid case reference and valid access code
Then the page URL should be "/respondent/hub-page"
Expand Down Expand Up @@ -345,6 +345,10 @@ Feature: Form failures
Given I've already completed the form using the fixture "respondentCompleteCase" for "respondent"
And I go to "/respondent/legal-jurisdiction-of-the-courts"
When I click "Continue"
Then the page should include "Do you intend to ask the court to delay"

Given I select "No"
And I click "Continue"
Then the page should include "Other court cases relating to this marriage"

Given I go to "/respondent/how-the-court-will-contact-you"
Expand All @@ -356,7 +360,7 @@ Feature: Form failures
Then the page should include "You have not confirmed that you are the respondent and that you believe the facts in the application are true. You need to confirm before continuing."

Given I go to "/respondent/finalising-your-application"
When I click "Submit"
When I click "Continue"
Then the page should include "You cannot continue without selecting the checkbox. If you do not want to continue then save and sign out."
Then the page should include "You need to explain why you are applying for the final order before continuing."

Expand Down

0 comments on commit 4aeae8e

Please sign in to comment.