--- status: complete phase: 06-global-site-selection source: [06-01-SUMMARY.md, 06-02-SUMMARY.md, 06-03-SUMMARY.md, 06-04-SUMMARY.md, 06-05-SUMMARY.md] started: 2026-04-07T12:00:00Z updated: 2026-04-07T12:15:00Z --- ## Current Test [testing complete] ## Tests ### 1. Select Sites Button in Toolbar expected: After connecting to a tenant, the toolbar shows a "Select Sites" button (localized). Clicking it opens the SitePickerDialog and loads sites. The button is disabled when no profile is connected. result: pass ### 2. Global Sites Count Label expected: After selecting sites via the global picker and clicking OK, a label next to the button shows the count of selected sites (e.g., "3 sites selected"). When no sites are selected, the label shows the empty state. Label is localized (EN/FR). result: pass ### 3. Single-Site Tab Pre-Fill (Storage, Search, Duplicates, FolderStructure) expected: Select one site globally. Switch to Storage/Search/Duplicates/FolderStructure tab — the SiteUrl field is automatically pre-filled with the globally selected site URL. result: pass ### 4. Permissions Tab Multi-Site Pre-Fill expected: Select multiple sites globally. Switch to the Permissions tab — SelectedSites is pre-populated with all globally selected sites. result: pass ### 5. Transfer Tab Pre-Fill expected: Select a site globally. Switch to Transfer tab — the SourceSiteUrl field is pre-filled with the globally selected site URL. result: pass ### 6. Local Override Protection expected: On a single-site tab, manually type a different site URL. Then change the global site selection. The manually-entered URL is NOT overwritten — local input takes priority. result: pass ### 7. Clear Field Reverts to Global expected: On a single-site tab with a local override active, clear the SiteUrl field (make it empty). The field immediately re-fills with the current global site URL — clearing means "go back to global." result: pass ### 8. Tenant Switch Clears Global Sites expected: Select sites globally, then switch to a different tenant. The global site selection is cleared (no sites selected). The toolbar label returns to the empty state. Tab SiteUrl fields are cleared. result: pass ## Summary total: 8 passed: 8 issues: 0 pending: 0 skipped: 0 ## Gaps [none]