Commit 8658c75
committed
Fix ADFS interactive Selenium test failures
- UserInformationFieldIds.DetermineFieldIds: use OrdinalIgnoreCase for
UserType comparisons. KeyVault stores 'federated' (lowercase) but
LabConstants.UserTypeFederated is 'Federated', causing the case-sensitive
== to fall through to AAD field IDs on an ADFS page (root cause).
- InteractiveFlowTests.RunTestForUserAsync: use FindFreeLocalhostRedirectUri()
for the non-direct path to avoid HttpListenerException port conflict with
Interactive_Adfs_DirectAsync on localhost:52073. AAD public client apps
accept any http://localhost:{port} so a dynamic port is valid here.1 parent b480f88 commit 8658c75
File tree
3 files changed
+32
-5
lines changed- tests/Microsoft.Identity.Test.Integration.netcore
- Infrastructure
- SeleniumTests
3 files changed
+32
-5
lines changedLines changed: 25 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | | - | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
322 | 345 | | |
323 | 346 | | |
324 | | - | |
| 347 | + | |
325 | 348 | | |
326 | 349 | | |
327 | 350 | | |
| |||
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
74 | | - | |
| 76 | + | |
75 | 77 | | |
76 | 78 | | |
77 | 79 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| 225 | + | |
| 226 | + | |
225 | 227 | | |
226 | 228 | | |
227 | | - | |
| 229 | + | |
228 | 230 | | |
229 | 231 | | |
230 | 232 | | |
| |||
0 commit comments