What is the best practice bypassing MFA for automated testing

Hi @eagle.xiao , this topic was explored fairly well a few months back in this thread: How to disable extra login steps on an Confluence Cloud instance used only for end-to-end testing?. Take a look there for tips and advice.

For our E2E tests we are using test accounts with the TOTP MFA so our test tool can calculate and authenticate without having to pop and parse email. It works well for Jira, but in Confluence our E2E tests still have a very high error rate of “You don’t have access to this space” showing up for our headless test cases (after authenticating successfully). Believe it has something to do with the many extra redirects Confluence cloud does interactively.

Chris
Digital Rose

1 Like