From 4a6185898cfe515a8434d3d354c2f9cd57736009 Mon Sep 17 00:00:00 2001 From: Aga Dufrat Date: Tue, 9 Aug 2022 10:54:35 +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 c05d9b4ad..6dd41055c 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/b3cu012d".freeze + TREE_TEST_URL = "https://GDSUserResearch.optimalworkshop.com/treejack/8f1yr1fj".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 13be6ae8e..2608b63a8 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/b3cu012d") + assert page.has_link?("Take part in user research (opens in a new tab)", href: "https://GDSUserResearch.optimalworkshop.com/treejack/8f1yr1fj") 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/b3cu012d") + assert_not page.has_link?("Take part in user research", href: "https://GDSUserResearch.optimalworkshop.com/treejack/8f1yr1fj") end test "Visa test recruitment banner is displayed on pages of interest" do