Type a code of one's own on the page that asks for the code of an authenticator app, and send it: a wrong code, for the refusal.
Examples
When I enter the authenticator code "000000"
When I enter the one-time code "123456"
And we enter the authenticator code "999999"
When I enter the authenticator code "12345"
When I enter the one-time code "000000"
Pattern
When(/^(I |we )*enter the (?:one-time|authenticator) code "([^"]*)"$/, …)
Part of @webship-js/aspnet-core-steps (github.com/webship/aspnet-core-steps), a step pack for Webship-js 2.0.x.