From d75080a769430f724caf9ab81405d9d8ad829aaa Mon Sep 17 00:00:00 2001 From: Stephen Daly Date: Fri, 15 May 2026 14:58:22 +0100 Subject: [PATCH] Revert "Add temporary fallback for content change" This reverts commit e167320ee1381416fd434349f692c05855af84c5. --- spec/support/feature_helpers.rb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/spec/support/feature_helpers.rb b/spec/support/feature_helpers.rb index 2f76329..1de2ce8 100644 --- a/spec/support/feature_helpers.rb +++ b/spec/support/feature_helpers.rb @@ -248,12 +248,7 @@ def add_a_secondary_skip(last_question_before_skip:, question_to_skip_to:) expect(page.find("h1")).to have_content "Route for any other answer: set questions to skip" select last_question_before_skip, from: "Select the last question you want them to answer before they skip" - begin - select question_to_skip_to, from: "Select the question to skip them to" - rescue Capybara::ElementNotFound - # temporary fallback while we're deploying a change to this content - select "End of form", from: "Select the question to skip them to" - end + select question_to_skip_to, from: "Select the question to skip them to" click_button "Save and continue"