Skip to content

Jmax/lg 11533 read pii from session for account presenter#9637

Merged
jmax-gsa merged 5 commits intomainfrom
jmax/LG-11533-read-pii-from-session-for-account-presenter
Dec 6, 2023
Merged

Jmax/lg 11533 read pii from session for account presenter#9637
jmax-gsa merged 5 commits intomainfrom
jmax/LG-11533-read-pii-from-session-for-account-presenter

Conversation

@jmax-gsa
Copy link
Contributor

🎫 Ticket

LG-11533

🛠 Summary of changes

Updated accounts_controller#show to explicitly pass the correct profile in to Pii::Cacher#fetch

## 📜 Testing Plan

Provide a checklist of steps to confirm the changes.

  • Existing specs pass without errors
  • The new controller specs which verifiy this ticket's new behavior pass. This is the describe block pii fetching in the file spec/controllers/accounts_controller_spec.rb

@jmax-gsa jmax-gsa requested review from a team and jmhooper November 21, 2023 21:01
changelog: Internal,PII caching,Explicitly pass profile id when fetching PII for user account page.`
@jmax-gsa jmax-gsa force-pushed the jmax/LG-11533-read-pii-from-session-for-account-presenter branch from a54f5c3 to 1cd7e6a Compare November 21, 2023 21:12

expect(page).to have_current_path(idv_phone_path)

phone_field = find_field(t('two_factor_authentication.phone_label'))
Copy link
Contributor

Choose a reason for hiding this comment

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

What was going on here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Chromedriver was failing with an 'outdated element' explosion. Tracked down, and re-finding the field fixed it. No idea why it ever worked.

@jmax-gsa jmax-gsa merged commit 602741c into main Dec 6, 2023
@jmax-gsa jmax-gsa deleted the jmax/LG-11533-read-pii-from-session-for-account-presenter branch December 6, 2023 17:40
@jmhooper jmhooper mentioned this pull request Dec 12, 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.

4 participants