A Mid-Level developer, mainly program in Java day-to-day but also work with Typescript/JavaScript regularly. I like experimenting with other languages and paradigms.
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?
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.