Skip to content

Commit

Permalink
Update case-study url
Browse files Browse the repository at this point in the history
The case study example used by multiple tests has been redirected
  • Loading branch information
hannako committed Oct 20, 2023
1 parent 919c84f commit e65966a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion features/apps/government_frontend.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion features/origin.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion features/step_definitions/draft_environment_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e65966a

Please sign in to comment.