Skip to content

PPHA-602: Fix smoking change journey redirects#413

Open
Themitchell wants to merge 4 commits intomainfrom
PPHA-602-fix-smoking-change-journey-redirects
Open

PPHA-602: Fix smoking change journey redirects#413
Themitchell wants to merge 4 commits intomainfrom
PPHA-602-fix-smoking-change-journey-redirects

Conversation

@Themitchell
Copy link
Copy Markdown
Contributor

What is the change?

When changing responses for a given smoking journey, ensure that the participant is redirects back to /check-your-answers rather than re doing the entire smoking journey

Why are we making this change?

To ensure users can quickly navigate specific smoking journeys without having to resubmit responses everywhere

@Themitchell Themitchell force-pushed the PPHA-602-fix-smoking-change-journey-redirects branch from 1199acd to f1d9655 Compare March 26, 2026 15:52
Themitchell and others added 3 commits March 30, 2026 10:16
When coming to the end of a journey for a particular smoking history
type make sure to redirect to responses if the participant is coming
from the chekc your answeres page
@Themitchell Themitchell force-pushed the PPHA-602-fix-smoking-change-journey-redirects branch from 0a61909 to 9530a76 Compare March 30, 2026 09:16
@Themitchell Themitchell force-pushed the PPHA-602-fix-smoking-change-journey-redirects branch from 9530a76 to 2700444 Compare March 30, 2026 09:17
@sonarqubecloud
Copy link
Copy Markdown

self.assertRedirects(response, reverse("questions:responses"))


def test_redirects_to_responses_if_change_true_and_no_change_is_selected_and_another_type_exists(self):
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

duplicate of previous test

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.

3 participants