test(scoreboard): assert the themed pill switch

This commit is contained in:
2026-11-02 11:14:15 -08:00
parent 3985a413a7
commit 221b81628a
3 changed files with 13 additions and 11 deletions
+3 -3
View File
@@ -63,10 +63,10 @@ public class ScoreboardPropertiesTests
})
Assert.Contains(binding, panel);
// Theme widgets only: the colour pickers are the app's drop-down (YtComboBox), never a
// hand-built menu, and the toggles are YtCheckBox.
// Theme widgets only: colour pickers use YtComboBox and the property-panel toggles use
// the themed pill-switch style.
Assert.Contains("Style=\"{StaticResource YtComboBox}\"", block);
Assert.Contains("Style=\"{StaticResource YtCheckBox}\"", block);
Assert.Contains("Style=\"{StaticResource PropertyPillCheck}\"", block);
Assert.DoesNotContain("ContextMenu", block);
// The VM surface exists for every binding above (a typo would bind to nothing silently).