From 000039a18d8d84c8d817225db20a1e545944b995 Mon Sep 17 00:00:00 2001 From: Aga Dufrat Date: Thu, 4 Aug 2022 12:35:27 +0100 Subject: [PATCH] Update Tree test survey link --- app/presenters/content_item/recruitment_banner.rb | 2 +- test/integration/recruitment_banner_test.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/presenters/content_item/recruitment_banner.rb b/app/presenters/content_item/recruitment_banner.rb index 50bc54f75..c05d9b4ad 100644 --- a/app/presenters/content_item/recruitment_banner.rb +++ b/app/presenters/content_item/recruitment_banner.rb @@ -1,6 +1,6 @@ module ContentItem module RecruitmentBanner - TREE_TEST_URL = "https://GDSUserResearch.optimalworkshop.com/treejack/834dm2s6".freeze + TREE_TEST_URL = "https://GDSUserResearch.optimalworkshop.com/treejack/b3cu012d".freeze TREE_TEST_PAGE = "/browse/working".freeze TREE_TEST_MAPPINGS = { TREE_TEST_PAGE => TREE_TEST_URL }.freeze diff --git a/test/integration/recruitment_banner_test.rb b/test/integration/recruitment_banner_test.rb index 75c2afa93..13be6ae8e 100644 --- a/test/integration/recruitment_banner_test.rb +++ b/test/integration/recruitment_banner_test.rb @@ -16,7 +16,7 @@ class RecruitmentBannerTest < ActionDispatch::IntegrationTest visit guide["base_path"] assert page.has_css?(".gem-c-intervention") - assert page.has_link?("Take part in user research (opens in a new tab)", href: "https://GDSUserResearch.optimalworkshop.com/treejack/834dm2s6") + assert page.has_link?("Take part in user research (opens in a new tab)", href: "https://GDSUserResearch.optimalworkshop.com/treejack/b3cu012d") end test "Tree test recruitment banner is not displayed unless page is tagged to a topic of interest" do @@ -33,7 +33,7 @@ class RecruitmentBannerTest < ActionDispatch::IntegrationTest visit_with_cachebust guide["base_path"] assert_not page.has_css?(".gem-c-intervention") - assert_not page.has_link?("Take part in user research", href: "https://GDSUserResearch.optimalworkshop.com/treejack/834dm2s6") + assert_not page.has_link?("Take part in user research", href: "https://GDSUserResearch.optimalworkshop.com/treejack/b3cu012d") end test "Visa test recruitment banner is displayed on pages of interest" do