diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index b7c2ede74..da1e272f4 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -101,7 +101,9 @@ jobs:
$main -notmatch 'Header="Flags"' -or
$main -notmatch 'Header="Diagnostics" Binding="\{Binding DiagnosticsSummary\}"' -or
$main -notmatch '' -or
- $main -notmatch '' -or
$main -notmatch 'LucideSquare.*Stroke="\{StaticResource Warning\}"' -or
$main -notmatch 'LucideX.*Stroke="\{StaticResource Danger\}"' -or
$app -notmatch 'x:Key="CommandOpenGradient"' -or
diff --git a/IoListTestingWindow.xaml b/IoListTestingWindow.xaml
index 8cc73a626..f62ba6396 100644
--- a/IoListTestingWindow.xaml
+++ b/IoListTestingWindow.xaml
@@ -166,10 +166,25 @@
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -185,29 +200,17 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
diff --git a/MainWindow.xaml b/MainWindow.xaml
index b0b6159d5..d9c8cbea2 100644
--- a/MainWindow.xaml
+++ b/MainWindow.xaml
@@ -229,27 +229,28 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
(string?)node.Attribute(x + "Name") == "RelayDeviceIcon");
+ var explorerBadge = explorer
+ .Descendants(presentation + "Border")
+ .Single(node => (string?)node.Attribute(x + "Name") == "MonitorStateBadge");
+ Assert.Empty(explorerIcon.Descendants(presentation + "DropShadowEffect"));
+ Assert.Equal("StackPanel", explorerBadge.Parent?.Name.LocalName);
+ Assert.Contains(
+ explorerBadge.Parent!.Descendants(presentation + "Control"),
+ node => (string?)node.Attribute(x + "Name") == "RelayDeviceIcon");
+
+ var ioTesting = XDocument.Load(FindRepoFile("IoListTestingWindow.xaml"));
+ var ioBadge = ioTesting
+ .Descendants(presentation + "Border")
+ .Single(node => (string?)node.Attribute(x + "Name") == "StateBadge");
+ Assert.Equal("StackPanel", ioBadge.Parent?.Name.LocalName);
+ Assert.Contains(
+ ioBadge.Parent!.Descendants(presentation + "Control"),
+ node => (string?)node.Attribute(x + "Name") == "RelayIcon");
+
+ var explorerText = explorer.ToString();
+ var ioTestingText = ioTesting.ToString();
+ Assert.Contains("IedRelayFrontPanelTemplate", explorerText, StringComparison.Ordinal);
+ Assert.Contains("IedRelayFrontPanelTemplate", ioTestingText, StringComparison.Ordinal);
+ Assert.DoesNotContain("M 2 0 L 2 20", explorerText, StringComparison.Ordinal);
+ Assert.DoesNotContain("M 2 0 L 2 20", ioTestingText, StringComparison.Ordinal);
}
[Fact]