From e65966add05fa3c7bca5bef4e37431ca6d6c9626 Mon Sep 17 00:00:00 2001 From: Jess Jones Date: Fri, 20 Oct 2023 10:40:41 +0100 Subject: [PATCH] Update case-study url The case study example used by multiple tests has been redirected --- features/apps/government_frontend.feature | 2 +- features/origin.feature | 2 +- features/step_definitions/draft_environment_steps.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/features/apps/government_frontend.feature b/features/apps/government_frontend.feature index a45aad17..d94f92e4 100644 --- a/features/apps/government_frontend.feature +++ b/features/apps/government_frontend.feature @@ -10,7 +10,7 @@ Feature: Government Frontend Scenario: Check the frontend can talk to draft Content Store Given I am testing "draft-origin" When I try to login as a user - When I attempt to visit "government/case-studies/example-case-studies-eu-citizens-rights-in-the-uk" + When I attempt to visit "government/case-studies/primary-authority-helps-acorn-safeguard-its-business-reputation" Then I should see "Case study" And the page should contain the draft watermark diff --git a/features/origin.feature b/features/origin.feature index b13f2ebf..35353cb8 100644 --- a/features/origin.feature +++ b/features/origin.feature @@ -28,7 +28,7 @@ Feature: Origin @app-authenticating-proxy Scenario: Check visiting a draft page requires a signon session Given I am testing "draft-origin" - When I attempt to visit "government/case-studies/example-case-studies-eu-citizens-rights-in-the-uk" + When I attempt to visit "government/case-studies/primary-authority-helps-acorn-safeguard-its-business-reputation" Then I should be prompted to log in When I log in using valid credentials Then I should be on the case study page diff --git a/features/step_definitions/draft_environment_steps.rb b/features/step_definitions/draft_environment_steps.rb index e93b3298..fbf1ba83 100644 --- a/features/step_definitions/draft_environment_steps.rb +++ b/features/step_definitions/draft_environment_steps.rb @@ -13,7 +13,7 @@ end Then /^I should be on the case study page$/ do - expect(page.current_path).to eq("/government/case-studies/example-case-studies-eu-citizens-rights-in-the-uk") + expect(page.current_path).to eq("/government/case-studies/primary-authority-helps-acorn-safeguard-its-business-reputation") expect(page).to have_content('Case study') end