Skip to content

Commit ba767b9

Browse files
authored
Merge pull request #271 from govuk-forms/remove-end-of-form-content-fallback
Revert "Add temporary fallback for content change"
2 parents b63cf13 + d75080a commit ba767b9

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

spec/support/feature_helpers.rb

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -248,12 +248,7 @@ def add_a_secondary_skip(last_question_before_skip:, question_to_skip_to:)
248248
expect(page.find("h1")).to have_content "Route for any other answer: set questions to skip"
249249

250250
select last_question_before_skip, from: "Select the last question you want them to answer before they skip"
251-
begin
252-
select question_to_skip_to, from: "Select the question to skip them to"
253-
rescue Capybara::ElementNotFound
254-
# temporary fallback while we're deploying a change to this content
255-
select "End of form", from: "Select the question to skip them to"
256-
end
251+
select question_to_skip_to, from: "Select the question to skip them to"
257252

258253
click_button "Save and continue"
259254

0 commit comments

Comments
 (0)