Skip to content

LG-9871 Password Re-entry Content Changes#8508

Merged
eric-gade merged 11 commits intomainfrom
eric-lg-9871
Jun 2, 2023
Merged

LG-9871 Password Re-entry Content Changes#8508
eric-gade merged 11 commits intomainfrom
eric-lg-9871

Conversation

@eric-gade
Copy link
Contributor

@eric-gade eric-gade commented May 30, 2023

🎫 Ticket

LG-9871

👀 Screenshots

Verify by Phone Case

French: Screen Shot 2023-05-31 at 11 11 18 AM
Spanish: Screen Shot 2023-05-31 at 11 11 09 AM
English: Screen Shot 2023-05-31 at 11 11 01 AM

Verify by Mail Case

French: Screen Shot 2023-05-31 at 11 10 00 AM
Spanish: Screen Shot 2023-05-31 at 11 09 49 AM
English: Screen Shot 2023-05-31 at 11 09 34 AM

@eric-gade eric-gade changed the title Eric lg 9871 LG-9871 Password Re-entry Content Changes May 30, 2023
@eric-gade eric-gade marked this pull request as ready for review May 31, 2023 15:14
@eric-gade eric-gade requested a review from a team May 31, 2023 15:14
Copy link
Contributor

@aduth aduth left a comment

Choose a reason for hiding this comment

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

Couple comments, but LGTM 👍


def address_verification_method
user_session.dig('idv', 'address_verification_mechanism')
user_session.with_indifferent_access.dig('idv', 'address_verification_mechanism')
Copy link
Contributor

Choose a reason for hiding this comment

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

How does this change relate to the ticket?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Controller tests won't work because an idv_session is mapped as a symbol rather than a string. I'm not sure why it was specified as a string in the first place, but new tests of the address_verification_mechanism being set will not pass. I thought indifferent access would rock the boat the least

end

def new
@applicant = idv_session.applicant
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 we can also remove the assign in the spec:

@applicant = {
first_name: 'Some',
last_name: 'One',
ssn: '666-66-1234',
dob: dob,
address1: '123 Main St',
city: 'Somewhere',
state: 'MO',
zipcode: '12345',
phone: '+1 (213) 555-0000',
}

eric-gade and others added 2 commits June 2, 2023 11:44
Co-authored-by: Andrew Duthie <andrew.duthie@gsa.gov>
@eric-gade eric-gade merged commit 8262c24 into main Jun 2, 2023
@eric-gade eric-gade deleted the eric-lg-9871 branch June 2, 2023 16:57
@solipet solipet mentioned this pull request Jun 6, 2023
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