Hello guys a simple question, do you have any good...
# _newcomer
r
Hello guys a simple question, do you have any good practice on QA automated testing of a UI in the context of a (t)OTP flow ?
for automation, i don't think having someone scan a QR code is a feasible solution, i thought of alternatives like: • dedicated TOTP generator (for testing only) • a fixed code that bypass OTP for testing (dunno of any such dev feature in Kratos) • making a virtual OTP client (mirroring a phone/an Google authenticator etc.) that actually receive indeed the code in the same env where we run the tests context: we use playwright for tests