Skip to content

LG-11748 new spec for IPP opt-in flag variations#9883

Merged
racingspider merged 4 commits intomainfrom
lg-11748-ipp-opt-in-spec
Jan 11, 2024
Merged

LG-11748 new spec for IPP opt-in flag variations#9883
racingspider merged 4 commits intomainfrom
lg-11748-ipp-opt-in-spec

Conversation

@racingspider
Copy link
Contributor

@racingspider racingspider commented Jan 9, 2024

With multiple opt-in flags available, we want to test multiple variations of flag values.

🎫 Ticket

LG-11748

🛠 Summary of changes

Add new spec file, split some of the logic it requires into helper files.

@racingspider racingspider changed the title changelog: Internal, Specs, add new spec file to test multiple flag c… LG-11748 new spec for IPP opt-in flag variations Jan 9, 2024
@gina-yamada
Copy link
Contributor

@racingspider Do we need to add allow(IdentityConfig.store).to receive(:in_person_proofing_opt_in_enabled).and_return(false) to all of the other ipp feature specs? I am not sure if they'd fail once we flip the flag.

@racingspider
Copy link
Contributor Author

racingspider commented Jan 9, 2024

@racingspider Do we need to add allow(IdentityConfig.store).to receive(:in_person_proofing_opt_in_enabled).and_return(false) to all of the other ipp feature specs? I am not sure if they'd fail once we flip the flag.

@gina-yamada I'm nearly 100% sure yes - one of the earlier tests I did made it clear that changing the application yml file would cause an avalanche of failures. I think we should make another ticket to handle that as well.

Copy link
Contributor

@JackRyan1989 JackRyan1989 left a comment

Choose a reason for hiding this comment

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

Looks good! Small (nit-picky) changes suggested.

@gina-yamada
Copy link
Contributor

I think you linked the wrong ticket number in your description. It should be LG-11748

@gina-yamada
Copy link
Contributor

@racingspider Do we need to add allow(IdentityConfig.store).to receive(:in_person_proofing_opt_in_enabled).and_return(false) to all of the other ipp feature specs? I am not sure if they'd fail once we flip the flag.

@gina-yamada I'm nearly 100% sure yes - one of the earlier tests I did made it clear that changing the application yml file would cause an avalanche of failures. I think we should make another ticket to handle that as well.

Does it make sense to create a new ticket for additional specs to handle this PR? Then, keep LG-11748 as is?

@gina-yamada
Copy link
Contributor

gina-yamada commented Jan 10, 2024

@racingspider Do we need to add allow(IdentityConfig.store).to receive(:in_person_proofing_opt_in_enabled).and_return(false) to all of the other ipp feature specs? I am not sure if they'd fail once we flip the flag.

@gina-yamada I'm nearly 100% sure yes - one of the earlier tests I did made it clear that changing the application yml file would cause an avalanche of failures. I think we should make another ticket to handle that as well.

Does it make sense to create a new ticket for additional specs to handle this PR? Then, keep LG-11748 as is?

Cancel my suggestion of a new ticket. We have a stub ticket for specs that we can use I bet. We still need to refine it so learnings out of this PR/discussion can drive the requirements at our next refinement session

@gina-yamada gina-yamada self-requested a review January 11, 2024 18:26
@racingspider racingspider merged commit deffb16 into main Jan 11, 2024
@racingspider racingspider deleted the lg-11748-ipp-opt-in-spec branch January 11, 2024 18:39
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