Skip to content

Run integration specs for feature-flagged password confirm step#6383

Merged
aduth merged 2 commits intomainfrom
aduth-password-confirm-feature-specs
May 20, 2022
Merged

Run integration specs for feature-flagged password confirm step#6383
aduth merged 2 commits intomainfrom
aduth-password-confirm-feature-specs

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented May 19, 2022

Why: So that we can be aware of potential issues sooner than later, we should re-run existing feature specs for IdV screens on the feature-flagged implementations.

These specs caught two issues already, addressed separately in #6374 and #6381.

**Why**: So that we can be aware of potential issues sooner than later, we should re-run existing feature specs for IdV screens on the feature-flagged implementations.

changelog: Upcoming Features, Identity Verification, Add password confirmation step
@aduth aduth requested a review from a team May 19, 2022 17:13
Comment on lines +131 to +133
expect(page).to have_content('October 6, 1938')
expect(page).to have_content(DocAuthHelper::GOOD_SSN)
expect(page).to have_content('(202) 555-1212')
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note that the new implementation does format some content a bit different from before, but not different enough that we should care?

expect(page).to have_content('October 06, 1938')
expect(page).to have_content(DocAuthHelper::GOOD_SSN)
expect(page).to have_content('+1 202-555-1212')

Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

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

LGTM

This is how client-side behaves (currently)
click_button t('idv.forgot_password.link_text')
click_button t('idv.forgot_password.try_again')

expect(page.current_path).to eq "#{idv_app_path(step: :password_confirm)}/"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Have to add the trailing slash here, since that's how the client-side routing currently behaves (recently revised in #6374). I'm looking to change this again as part of #6387 so that we won't need to do this (strip the trailing slash).

@aduth aduth merged commit 8f7ba0c into main May 20, 2022
@aduth aduth deleted the aduth-password-confirm-feature-specs branch May 20, 2022 15:06
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