test(ui): follow shared geometry panel gate
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user