Commit 906f026
authored
Fix MSA login timeout: use configurable timeout for 'Other ways to si…, Fixes AB#3622375 (#3138)
The 'Other ways to sign in' UI element check in handlePasswordField()
was hardcoded to FIND_UI_ELEMENT_TIMEOUT_SHORT (10s), which was
insufficient for the WebView to load login.live.com through the IPC +
network chain. This caused intermittent TimeoutExceptions in MSA broker
tests.
Changed to use mFindLoginUiElementTimeout (25s default, 30s for NAA
tests) which is consistent with other UI element checks in the same
handler.
Fixes: TestCase2688459 (NAA ATS), TestCase2637829 (MSA Prompt.Login)
Fixes
[AB#3622375](https://identitydivision.visualstudio.com/fac9d424-53d2-45c0-91b5-ef6ba7a6bf26/_workitems/edit/3622375)1 parent 249a5fc commit 906f026
1 file changed
Lines changed: 1 addition & 1 deletion
File tree
- uiautomationutilities/src/main/java/com/microsoft/identity/client/ui/automation/interaction/microsoftsts
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
0 commit comments