Then this browser should be remembered for two-factor sign-in

Assert that this browser is, or is not, remembered for two-factor sign-in ("Remember this machine" on the page of the code): the app keeps a cookie for it (worldParameters.twoFactorRememberCookie), and asks the account for no code in this browser while it lasts. "Forget this browser" on the two-factor page takes it away.

Examples

Then this browser should be remembered for two-factor sign-in
Then this browser should not be remembered for two-factor sign-in
And this browser should be remembered for two-factor sign-in
And this browser should not be remembered for two-factor sign-in
But this browser should not be remembered for two-factor sign-in

Pattern

Then(/^this browser should( not)* be remembered for two-factor sign-in$/, …)

Part of @webship-js/aspnet-core-steps (github.com/webship/aspnet-core-steps), a step pack for Webship-js 2.0.x.