test(06): complete UAT - 0 passed, 3 issues, 7 skipped

Fix two pre-existing blockers found during UAT:
- ProfileManagementViewModel: add NotifyCanExecuteChanged on property changes
- SessionManager: open browser in openBrowserCallback (was no-op)

Remaining blocker: SitePickerDialog parsing error from PnP Framework.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Dev
2026-04-07 10:41:39 +02:00
parent 52670bd262
commit 5666565ac1
3 changed files with 133 additions and 2 deletions

View File

@@ -60,8 +60,11 @@ public class SessionManager : ISessionManager
clientId: profile.ClientId,
openBrowserCallback: (url, port) =>
{
// The browser/WAM flow is handled by MSAL; this callback receives the
// local redirect URL and port. No action needed here — MSAL opens the browser.
System.Diagnostics.Process.Start(new System.Diagnostics.ProcessStartInfo
{
FileName = url,
UseShellExecute = true
});
},
tokenCacheCallback: tokenCache =>
{

View File

@@ -58,6 +58,16 @@ public partial class ProfileManagementViewModel : ObservableObject
}
}
partial void OnNewNameChanged(string value) => NotifyCommandsCanExecuteChanged();
partial void OnNewTenantUrlChanged(string value) => NotifyCommandsCanExecuteChanged();
partial void OnNewClientIdChanged(string value) => NotifyCommandsCanExecuteChanged();
private void NotifyCommandsCanExecuteChanged()
{
AddCommand.NotifyCanExecuteChanged();
RenameCommand.NotifyCanExecuteChanged();
}
private bool CanAdd()
{
if (string.IsNullOrWhiteSpace(NewName)) return false;