diff --git a/app/presenters/start_node/recruitment_banner.rb b/app/presenters/start_node/recruitment_banner.rb
index da7ea670f48..620f2c0aef3 100644
--- a/app/presenters/start_node/recruitment_banner.rb
+++ b/app/presenters/start_node/recruitment_banner.rb
@@ -1,11 +1,5 @@
module StartNode
module RecruitmentBanner
- SURVERY_URL = "https://surveys.publishing.service.gov.uk/s/SNFVW1/".freeze
- SURVEY_URLS = {
- "/maternity-paternity-calculator" => SURVERY_URL,
- "/calculate-statutory-sick-pay" => SURVERY_URL,
- }.freeze
-
BENEFITS_SURVEY_URL = "https://signup.take-part-in-research.service.gov.uk/home?utm_campaign=Content_History&utm_source=Hold_gov_to_account&utm_medium=gov.uk&t=GDS&id=16".freeze
BENEFITS_SURVEY_URLS = {
"/state-pension-age" => BENEFITS_SURVEY_URL,
@@ -13,10 +7,6 @@ module RecruitmentBanner
"/child-benefit-tax-calculator" => BENEFITS_SURVEY_URL,
}.freeze
- def survey_url(path)
- landing_page?(path) && SURVEY_URLS[base_path]
- end
-
def benefits_survey_url(path)
landing_page?(path) && BENEFITS_SURVEY_URLS[base_path]
end
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index cd44e5568c0..eff5a46c7c2 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -1,16 +1,7 @@
<% content_for :body do %>
<%= yield :breadcrumbs %>
- <% if @presenter && @presenter.start_node.survey_url(request.path) %>
-
- <%= render "govuk_publishing_components/components/intervention", {
- suggestion_text: "Help improve a new GOV.UK tool",
- suggestion_link_text: "Sign up to take part in user research",
- suggestion_link_url: @presenter.start_node.survey_url(request.path),
- new_tab: true,
- } %>
-
- <% elsif @presenter && @presenter.start_node.benefits_survey_url(request.path) %>
+ <% if @presenter && @presenter.start_node.benefits_survey_url(request.path) %>
<%= render "govuk_publishing_components/components/intervention", {
suggestion_text: "Help improve GOV.UK",
diff --git a/test/integration/recruitment_banner_test.rb b/test/integration/recruitment_banner_test.rb
index f2657c10e49..0dd1da231f3 100644
--- a/test/integration/recruitment_banner_test.rb
+++ b/test/integration/recruitment_banner_test.rb
@@ -2,32 +2,6 @@
class RecruitmentBannerTest < ActionDispatch::IntegrationTest
context "user research banner" do
- context "maternity paternity calculator" do
- setup do
- stub_content_store_has_item("/maternity-paternity-calculator")
- end
-
- should "display User Research Banner on the landing page" do
- visit "/maternity-paternity-calculator"
- assert page.has_css?(".gem-c-intervention")
- assert page.has_link?("Sign up to take part in user research (opens in a new tab)", href: "https://surveys.publishing.service.gov.uk/s/SNFVW1/")
- end
-
- should "not display User Research Banner on non-landing pages of the specific smart answer" do
- visit "/maternity-paternity-calculator/y"
-
- assert_not page.has_css?(".gem-c-intervention")
- assert_not page.has_link?("Sign up to take part in user research (opens in a new tab)", href: "https://surveys.publishing.service.gov.uk/s/SNFVW1/")
- end
-
- should "not display User Research Banner unless survey URL is specified for the base path" do
- visit "/bridge-of-death"
-
- assert_not page.has_css?(".gem-c-intervention")
- assert_not page.has_link?("Sign up to take part in user research (opens in a new tab)", href: "https://surveys.publishing.service.gov.uk/s/SNFVW1/")
- end
- end
-
context "check state pension age" do
setup do
stub_content_store_has_item("/state-pension-age")