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