Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions spec/support/feature_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down