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

Add RSpec example to test for missing links on people pages #1099

Merged
merged 2 commits into from
Jun 28, 2023

Conversation

aldavidson
Copy link
Contributor

@aldavidson aldavidson commented Jun 28, 2023

After merging previous PR #1069, we found that some of the Hash normalisation introduced meant that nested links two levels down lost their content, and this resulted in an incident.

All the tests passed on that PR, which means this scenario was not covered by tests - so this PR adds an explicit test case using the JSON from an actual content_item from integration against which the problem was identified.

Trello card

This application is owned by the publishing platform team. Please let us know in #govuk-publishing-platform when you raise any PRs.

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

Follow these steps if you are doing a Rails upgrade.

@aldavidson aldavidson force-pushed the add-spec-for-disappearing-role-appt-links branch from c6e7d9b to c60e428 Compare June 28, 2023 14:08
@aldavidson aldavidson force-pushed the add-spec-for-disappearing-role-appt-links branch from c60e428 to 1bd2ca1 Compare June 28, 2023 14:12
Copy link
Contributor

@JonathanHallam JonathanHallam left a comment

Choose a reason for hiding this comment

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

Looks good, I think the comment can probably just be added as the commit description though. Thanks :)

@aldavidson aldavidson merged commit 2c0e015 into main Jun 28, 2023
4 checks passed
@aldavidson aldavidson deleted the add-spec-for-disappearing-role-appt-links branch June 28, 2023 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants