re: Selenium Testing - How to sign in to Two-factor authentication? VIEW POST

FULL DISCUSSION
 

Logging in and authentication are two challenges to automated testing, in our team we bypass the whole process for simplicity's sake but I do see the benefit in automating the testing here. Would you create a test user for your e2e tests?

 

Yes I do.

In some case, creating (registration) user account for testing, enabling 2FA, and getting 2FA secret key, are included our testing scenario.

But in another case, I think, bypassing those processes is best choice for keeping simply it and stabilize testing.

code of conduct - report abuse