AzureAD / microsoft-authentication-library-common-for-android

Common code used by both the Active Directory Authentication Library (ADAL) and the Microsoft Authentication Library (MSAL)
MIT License
41 stars 35 forks source link

[E2E] Handle browser first run in MsalTestApp.acquireToken #2186

Closed cikelengfeng closed 1 year ago

cikelengfeng commented 1 year ago

In certain E2E test cases, such as 2517374, a browser is used for login. However, MsalTestApp's acquireToken method doesn't handle the browser's first run, this can cause failures of test cases. Add browser and necessary parameters to acquireToken so that MsalTestApp can handle browser's first run as applicable.