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

PRSD-642: Landlord Registration Confirmation #103

Open
wants to merge 26 commits into
base: main
Choose a base branch
from

Conversation

isobel-softwire
Copy link
Contributor

Overarching Changes

  • Adds methods to JourneyDataService that help with retrieving values from the session
  • Moves identity verification from LandlordRegistrationJourneyTests to Navigator
  • Consolidates LandlordRegistrationJourneyTests

Features

  • Creates /confirmation endpoint and template for landlord registration journey
  • Sets landlord registration journey Declaration step's handleSubmitAndRedirect to create a landlord, clear the session's journey data, and return the /confirmation endpoint

Screenshots

image

Tests

  • Updates affected unit tests
  • Creates tests for confirmation step of landlord registration journey

@isobel-softwire isobel-softwire force-pushed the feat/PRSD-642-landlord-registration-confirmation branch from eb25bab to 6af8257 Compare December 12, 2024 12:38
@isobel-softwire isobel-softwire force-pushed the feat/PRSD-642-landlord-registration-confirmation branch from a56ee56 to b820e55 Compare December 13, 2024 11:42
phoneNumPage.phoneNumberInput.fill("07123456789")
phoneNumPage.form.submit()
assertPageIs(page, CountryOfResidenceFormPageLandlordRegistration::class)

val countryOfResidencePage = navigator.goToLandlordRegistrationCountryOfResidencePage()
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this should be assertIsPage not navigator.goTo...., this should be changed on all these User can navigate tests (I think)

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