Skip to content

Document all analytics logged through sign_in_spec#10966

Merged
aduth merged 11 commits intomainfrom
aduth-sign-in-spec-analytics
Aug 9, 2024
Merged

Document all analytics logged through sign_in_spec#10966
aduth merged 11 commits intomainfrom
aduth-sign-in-spec-analytics

Conversation

@aduth
Copy link
Copy Markdown
Contributor

@aduth aduth commented Jul 19, 2024

🛠 Summary of changes

Removes allowed_extra_analytics from spec/features/users/sign_in_spec.rb and resolves all flagged issues.

Most of these come from IdV events, documented to the best of my ability.

Separately, it may be worth revisiting whether it's necessary for sign-in specs to go through the complete IdV flow, or if it would be fine to stub an already-IdV'd user instead (see sign_in.rb shared examples, specifically use of create_ial2_account_go_back_to_sp_and_sign_out) Edit: Addressed separately in #10967.

📜 Testing Plan

Validate that tests pass.

In most cases, I added new method arguments as non-optional. Confidence check that these analytics will always be logged is appreciated.

@aduth aduth force-pushed the aduth-sign-in-spec-analytics branch from 61cd6ac to e037f40 Compare August 9, 2024 12:34
@aduth aduth marked this pull request as ready for review August 9, 2024 14:49
@aduth aduth requested review from a team August 9, 2024 14:50
Copy link
Copy Markdown
Contributor

@jmhooper jmhooper left a comment

Choose a reason for hiding this comment

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

This looks like a lot of work. I looked over the proofing events and feel good about what you wrote up for those

@aduth aduth merged commit 84eeb64 into main Aug 9, 2024
@aduth aduth deleted the aduth-sign-in-spec-analytics branch August 9, 2024 16:12
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