test(scoreboard): assert the themed pill switch
This commit is contained in:
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user