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
+5 -3
View File
@@ -9,18 +9,20 @@
`YtCheckBox` markup; committed as `221b816`.
- `PropertiesHierarchyTests` now checks shared styles and scopes the duplicate shape bindings to
the Shape block; focused test passes. This task is ready to commit.
- Clean app build is 0 warnings. Full suite: 10 failed / 512 passed of 522; remaining failures are
- `GeometryFieldWidthTests` now identifies the shared draggable-layer Geometry block; focused test
passes. This task is ready to commit.
- Clean app build is 0 warnings. Full suite: 9 failed / 513 passed of 522; remaining failures are
being handled one task and one local commit at a time.
## Next action
Commit the properties-hierarchy assertion update, then take the next remaining failure. Do not
Commit the Geometry selector update, then take the next remaining failure. Do not
push absent a milestone/checkpoint request.
## Landmines
- Build/test with Windows `dotnet.exe`; the full suite can hang in WASAPI teardown.
- `verify.sh` cannot pass until the remaining 10 suite failures are resolved; scope checks are run
- `verify.sh` cannot pass until the remaining 9 suite failures are resolved; scope checks are run
separately when that gate exits early.
- Any integration test constructing `MainWindow` must set `LayoutPathOverride` to a temporary DB
and clear it in `finally`.
+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);