From 450f52d060e834dc1fbb20817c3d5ddefea86867 Mon Sep 17 00:00:00 2001 From: Stephen Daly Date: Fri, 24 Apr 2026 10:09:13 +0100 Subject: [PATCH] Remove temporary fallback for route option content The content change has now been deployed, so the fallback to use the old content is no longer needed. --- spec/support/feature_helpers.rb | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/spec/support/feature_helpers.rb b/spec/support/feature_helpers.rb index acf4c15..88058cc 100644 --- a/spec/support/feature_helpers.rb +++ b/spec/support/feature_helpers.rb @@ -248,13 +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 "Check your answers before submitting", 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"