test(ui): follow shared geometry panel gate

This commit is contained in:
2026-11-02 11:20:54 -08:00
parent 91e308e8e2
commit 82609a5046
2 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ public class GeometryFieldWidthTests
var geometry = doc.Descendants()
.Where(e => e.Name.LocalName == "TextBlock" && (string?)e.Attribute("Text") == "Geometry")
.Single(e => ((string?)e.Parent?.Attribute("Visibility") ?? "").Contains("IsWebcamSelected"));
.Single(e => ((string?)e.Parent?.Attribute("Visibility") ?? "").Contains("SelectedElement.IsDraggable"));
var rows = geometry.Parent!.Elements().Where(e => e.Name.LocalName == "DockPanel").ToList();
Assert.Equal(2, rows.Count);