Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Take down content list AB test #3559

Merged
merged 2 commits into from
Feb 26, 2025
Merged

Conversation

unoduetre
Copy link
Contributor

@unoduetre unoduetre commented Feb 17, 2025

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

Follow these steps if you are doing a Rails upgrade.

Routes in this application are being migrated to another application, please check with #govuk-patterns-and-pages when making changes.

What

We will be making a decision on whether we make the content list a permanent feature if we can validate our hypothesis but this card is to remove the AB test functionality.

This PR removes the AB test. Another PR applies a change to always show content list in guides.

Why

Trello ticket

@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-3559 February 17, 2025 09:23 Inactive
@unoduetre unoduetre changed the title 3273 take down content list ab test Take down content list AB test Feb 17, 2025
@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-3559 February 17, 2025 11:00 Inactive
@unoduetre unoduetre force-pushed the 3273-take-down-content-list-ab-test branch from 69bf86f to c0928c8 Compare February 17, 2025 11:04
@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-3559 February 17, 2025 11:04 Inactive
@@ -34,54 +34,6 @@ class GuideTest < ActionDispatch::IntegrationTest
assert page.has_css?('.gem-c-contents-list a[href$="?token=some_token"]')
end

test "does not show part navigation, print link or part title when only one part" do
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those are not necessary anymore as the logic is gone. There is a test checking, if the content list and the print link is present above.

@unoduetre unoduetre marked this pull request as ready for review February 17, 2025 11:23
@unoduetre unoduetre marked this pull request as draft February 17, 2025 11:24
@unoduetre unoduetre force-pushed the 3273-take-down-content-list-ab-test branch from c0928c8 to 7148f19 Compare February 26, 2025 10:45
@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-3559 February 26, 2025 10:45 Inactive
@unoduetre unoduetre marked this pull request as ready for review February 26, 2025 12:56
@unoduetre unoduetre merged commit 85f4681 into main Feb 26, 2025
12 checks passed
@unoduetre unoduetre deleted the 3273-take-down-content-list-ab-test branch February 26, 2025 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants