From 7a77d38abfebbef0db340b114a26678b87a90968 Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Fri, 21 Aug 2026 08:22:03 -0400 Subject: [PATCH] test(playwright): key the Configure bulk-Apply click by data-test (strict-mode collision with the grouped 'Apply to n' button) The grouped Connection Bindings panel (77f4af0d) added a per-group 'Apply to n' button, so InstanceConfigureTests' Name = "Apply" role locator started matching two elements and failing Playwright's strict mode. Adds data-test="binding-bulk-apply" alongside the existing binding-bulk-select / binding-group-apply keys and clicks that instead. Claude-Session: https://claude.ai/code/session_01G2GHPnbbKGvyyfbr2XBRVH --- .../Components/Pages/Deployment/InstanceConfigure.razor | 3 ++- .../Deployment/InstanceConfigureTests.cs | 5 ++++- 2 files changed, 6 insertions(+), 2 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 0a940e31..b611d82d 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 @@ -142,7 +142,8 @@ } - } diff --git a/tests/ZB.MOM.WW.ScadaBridge.CentralUI.PlaywrightTests/Deployment/InstanceConfigureTests.cs b/tests/ZB.MOM.WW.ScadaBridge.CentralUI.PlaywrightTests/Deployment/InstanceConfigureTests.cs index afc9f42b..5b95beb5 100644 --- a/tests/ZB.MOM.WW.ScadaBridge.CentralUI.PlaywrightTests/Deployment/InstanceConfigureTests.cs +++ b/tests/ZB.MOM.WW.ScadaBridge.CentralUI.PlaywrightTests/Deployment/InstanceConfigureTests.cs @@ -55,7 +55,10 @@ public sealed class InstanceConfigureTests : IClassFixture