Skip to content

LG-12269 Improve ID-IPP feature test structure#11506

Merged
shanechesnutt-ft merged 1 commit intomainfrom
sc/LG-12269
Nov 19, 2024
Merged

LG-12269 Improve ID-IPP feature test structure#11506
shanechesnutt-ft merged 1 commit intomainfrom
sc/LG-12269

Conversation

@shanechesnutt-ft
Copy link
Copy Markdown
Contributor

🎫 Ticket

Link to the relevant ticket:
LG-12269

🛠 Summary of changes

Improved test structure in the feature tests for the ID-IPP flow.

📜 Testing Plan

  • Tests are passing in CI

Copy link
Copy Markdown
Contributor

@eileen-nava eileen-nava left a comment

Choose a reason for hiding this comment

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

Approved. I left non-blocking comments.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nit: While making changes in here, what would you think of changing before(:each) to before? Since before's scope defaults to each, I'm not sure the benefit of writing before(:each) instead of before.

I'm also wondering if it's be worth changing the capitalization for validation, too?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Nice catch I will update those

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

spec/support/features/in_person_helper.rb includes the complete_all_in_person_proofing_steps method and spec/support/features/doc_auth_helper.rb includes the complete_up_to_how_to_verify_step_for_opt_in_ipp method, both of which are somewhat similar to this method. What would you think of moving this method to the in_person_helper?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I can do that. That will be a good way to dry things up.

@gina-yamada
Copy link
Copy Markdown
Contributor

gina-yamada commented Nov 15, 2024

My initial review is complete. Please reach out if/when you'd like another review. Comments are non-blocking and I approve so far. I will wait for final stamp though as I think you are looking into some of the above comments.

@gina-yamada
Copy link
Copy Markdown
Contributor

@shanechesnutt-ft Why was app/controllers/idv/in_person/ready_to_verify_controller.rb deleted?

@shanechesnutt-ft
Copy link
Copy Markdown
Contributor Author

@shanechesnutt-ft Why was app/controllers/idv/in_person/ready_to_verify_controller.rb deleted?

That was a mistake on my part

@shanechesnutt-ft shanechesnutt-ft force-pushed the sc/LG-12269 branch 3 times, most recently from a10503b to 35776a7 Compare November 19, 2024 16:20
Copy link
Copy Markdown
Contributor

@eileen-nava eileen-nava left a comment

Choose a reason for hiding this comment

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

I took another look at your changes and they look good. Approved again!

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🙌🏻

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