What's the right approach to run tests with 2-factor authentication?

I'm not sure if this question fits here but let's give it: what's the best way to automate testing when login requires 2-factor authentication?

Comments

Fresh Top
  1. Depends on your resources. If you want a software engineering answer then: my suggestion is to reduce your scope. You test two factor first. Then you test the other thing. Then you can connect the two. This way you can be certain to narrow down which part is causing the issue. Hope it makes sense

  2. Thanks, @getaclue! I'm actually not interested in testing the 2-factor itself, I'm more interested in understanding how that can be automated when using a chromeless small app for example

Sign Up or Log In to leave a comment.