...
Note: npx is the npm package runner CLI.
Existing issues:
we only allow trusted devices & browsers, and we don’t have a non-prod authentication environment. As such when testing via none headless , the browser would be opened in-private / cognito mode.
Solution:
1- If we had a SSO with a dev/test environment where we could disable MFA this would provide us the ability to run automated tests with significantly less effort. (this solutions is against the security policies.)
2- having a TC generic testing AAD account with MFA disabled would be good option