From c259614a78b4ee05392e97035587c1cd3f14c1d9 Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Fri, 11 Sep 2026 10:11:53 -0400 Subject: [PATCH] =?UTF-8?q?fix(ui):=20Task=2011=20review=20=E2=80=94=20ver?= =?UTF-8?q?ify=20false=20override=20end-to-end,=20move=20HasOverrideDelta?= =?UTF-8?q?=20to=20the=20partial,=20label=20wording?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Claude-Session: https://claude.ai/code/session_01Y5ef34iUUMjmwnMpL9xgmB --- .../Pages/Deployment/InstanceConfigure.razor | 13 +-------- .../Deployment/InstanceConfigure.razor.cs | 11 +++++++ .../Deployment/InstanceConfigureTests.cs | 29 ++++++++++++++++++- .../InstanceConfigureMesReportableTests.cs | 3 ++ 4 files changed, 43 insertions(+), 13 deletions(-) diff --git a/src/ZB.MOM.WW.ScadaBridge.CentralUI/Components/Pages/Deployment/InstanceConfigure.razor b/src/ZB.MOM.WW.ScadaBridge.CentralUI/Components/Pages/Deployment/InstanceConfigure.razor index 6412f759..77497d9e 100644 --- a/src/ZB.MOM.WW.ScadaBridge.CentralUI/Components/Pages/Deployment/InstanceConfigure.razor +++ b/src/ZB.MOM.WW.ScadaBridge.CentralUI/Components/Pages/Deployment/InstanceConfigure.razor @@ -549,7 +549,7 @@ @* Tri-state: blank = inherit the template alarm's flag. "Not reportable" is a real override, not a clear — it pins a reportable template alarm off for this instance. *@ - + ", selectStart, StringComparison.Ordinal); Assert.True(selectEnd > selectStart, "MES reportable select is not closed."); + // Label mirrors the adjacent "Priority override" control. + Assert.Contains("MES reportable override", markup); + var selectBody = markup[selectStart..selectEnd]; var optionCount = selectBody.Split("