Skip to content

LG-11054 Updates to in person proofing specs#9863

Merged
svalexander merged 21 commits intomainfrom
shannon/lg-11054-update-in-person-specs
Jan 19, 2024
Merged

LG-11054 Updates to in person proofing specs#9863
svalexander merged 21 commits intomainfrom
shannon/lg-11054-update-in-person-specs

Conversation

@svalexander
Copy link
Contributor

@svalexander svalexander commented Jan 5, 2024

🎫 Ticket

Link to the relevant ticket:
LG-11054

🛠 Summary of changes

This ticket was to audit the in person specs and begin to make updates. This pr makes some changes to the in_person, address, and state_id feature specs.

@svalexander svalexander marked this pull request as draft January 5, 2024 17:06
include RenderConditionConcern
include UspsInPersonProofing
include EffectiveUser
include UspsInPersonProofing
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this was a duplicate line, see line 8

expect(page).to have_field(t('in_person_proofing.form.state_id.zipcode'), with: '12345-6789')
click_idv_continue
expect(page).to have_current_path(idv_in_person_ssn_url)
context 'when visiting state id for the first time' 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.

this additional test keeps this spec in line with other step spec files

end
end

context 'when updating by visiting state id from verify info pg' do
Copy link
Contributor Author

@svalexander svalexander Jan 9, 2024

Choose a reason for hiding this comment

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

thoughts? should this spec exist here or should it only exist in the verify_info spec as that is where a user initiates the update.

Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a reasonable expectation that within the context of this test, the result may be different (due to variables) than the verify_info spec?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

no, nothing should be different.

Copy link
Contributor

@n1zyy n1zyy left a comment

Choose a reason for hiding this comment

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

I didn't get a chance to finish going through this today, so I'm just leaving the couple unimportant comments I had so far.

end
end

context 'transliteration' 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.

renamed and moved to address_spec and state_id_step_spec

@svalexander svalexander changed the title remove state id specific specs from in_person_spec and move to the st… LG-11054 Update to in person proofing specs Jan 16, 2024
@svalexander svalexander marked this pull request as ready for review January 16, 2024 19:25
@svalexander svalexander requested review from a team and n1zyy January 16, 2024 19:33
@svalexander svalexander changed the title LG-11054 Update to in person proofing specs LG-11054 Updates to in person proofing specs Jan 16, 2024
expect(page).to have_text(InPersonHelper::GOOD_ADDRESS2)
expect(page).to have_text(InPersonHelper::GOOD_CITY)
expect(page).to have_text(InPersonHelper::GOOD_ZIPCODE)
expect(page).to have_text(Idp::Constants::MOCK_IDV_APPLICANT_STATE)
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this a new field that we weren't checking for before or was this a wee oversight?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think it was an oversight as it existed on the page previously but we werent checking for it in the spec

@svalexander svalexander merged commit 36a4db1 into main Jan 19, 2024
@svalexander svalexander deleted the shannon/lg-11054-update-in-person-specs branch January 19, 2024 16:21
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.

6 participants