-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LG-14189: A/B test for allowing F/T setup and authentication on desktop #11347
base: main
Are you sure you want to change the base?
Conversation
cdba74a
to
6e5027e
Compare
6e5027e
to
8adbf86
Compare
can you rebase this branch to pick up changes to the reviewapp deploy process? |
Co-authored-by: Andrew Duthie <[email protected]>
Co-authored-by: Andrew Duthie <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Tested locally with prescribed conditions and behaves as expected.
app/controllers/users/two_factor_authentication_setup_controller.rb
Outdated
Show resolved
Hide resolved
…er.rb Co-authored-by: Andrew Duthie <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple minor suggestions, but works well in my testing otherwise 👍
39d3868
to
bac7f21
Compare
🎫 Ticket
Link to the relevant ticket:
LG-14189-Implement: A/B test for allowing F/T setup and authentication on desktop
🛠 Summary of changes
This PR implements an A/B test for setting up F/T unlock on desktops. This test will only run for users who are signing up for authentication methods in English.
📜 Testing Plan
Prerequisites:
In
application.yml
, setdesktop_ft_unlock_setup_option_percent_tested
config value to100
in developmentOptional: set
show_unsupported_passkey_platform_authentication_setup
to true. This will make it so that when testing by switching to another language, the option does not appear at all.Once on http://localhost:3000, register for a new account
Follow steps to create a new account
Once on the authentication methods setup page, if you set desktop_ft_unlock_setup_option_percent_tested to 100, you will see the F/T unlock setup option
Switch to all other languages, you should not be able to see the setup option
Notes:
desktop_ft_unlock_setup_option_percent_tested
to 0 andshow_unsupported_passkey_platform_authentication_setup
to false. When following the testing instructions, you will not see the option at all.show_unsupported_passkey_platform_authentication_setup
is set totrue
while testing, you will see the F/T unlock option in Spanish, French and Chinese shaded in red. This is not a regression as that config value is set to false in production, so it will not appear as such.