Type the code of an account's authenticator app on the page that asks for it, worked out from its key (the registry's otpSecret, or the key of a set-up made in this scenario), and send it. "Remember this machine" can be ticked on the way.
Examples
When I enter the authenticator code of "twofactoruser"
When I enter the one-time code of "twofactoruser"
And we enter the authenticator code of "user"
When I enter the authenticator code of "twofactoruser" with "Remember this machine" checked
When I enter the one-time code of "twofactoruser" with "Remember this machine" unchecked
Pattern
When(/^(I |we )*enter the (?:one-time|authenticator) code of "([^"]*)"(?: with "([^"]*)" (checked|unchecked))?$/, …)
Part of @webship-js/aspnet-core-steps (github.com/webship/aspnet-core-steps), a step pack for Webship-js 2.0.x.