test(ui): follow shared geometry panel gate
This commit is contained in:
+5
-3
@@ -9,18 +9,20 @@
|
|||||||
`YtCheckBox` markup; committed as `221b816`.
|
`YtCheckBox` markup; committed as `221b816`.
|
||||||
- `PropertiesHierarchyTests` now checks shared styles and scopes the duplicate shape bindings to
|
- `PropertiesHierarchyTests` now checks shared styles and scopes the duplicate shape bindings to
|
||||||
the Shape block; focused test passes. This task is ready to commit.
|
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.
|
being handled one task and one local commit at a time.
|
||||||
|
|
||||||
## Next action
|
## 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.
|
push absent a milestone/checkpoint request.
|
||||||
|
|
||||||
## Landmines
|
## Landmines
|
||||||
|
|
||||||
- Build/test with Windows `dotnet.exe`; the full suite can hang in WASAPI teardown.
|
- 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.
|
separately when that gate exits early.
|
||||||
- Any integration test constructing `MainWindow` must set `LayoutPathOverride` to a temporary DB
|
- Any integration test constructing `MainWindow` must set `LayoutPathOverride` to a temporary DB
|
||||||
and clear it in `finally`.
|
and clear it in `finally`.
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ public class GeometryFieldWidthTests
|
|||||||
|
|
||||||
var geometry = doc.Descendants()
|
var geometry = doc.Descendants()
|
||||||
.Where(e => e.Name.LocalName == "TextBlock" && (string?)e.Attribute("Text") == "Geometry")
|
.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();
|
var rows = geometry.Parent!.Elements().Where(e => e.Name.LocalName == "DockPanel").ToList();
|
||||||
Assert.Equal(2, rows.Count);
|
Assert.Equal(2, rows.Count);
|
||||||
|
|||||||
Reference in New Issue
Block a user