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
This commit is contained in:
+2
-1
@@ -142,7 +142,8 @@
|
||||
<option value="@c.Id">@c.Name (@c.Protocol)</option>
|
||||
}
|
||||
</select>
|
||||
<button class="btn btn-outline-primary btn-sm" @onclick="ApplyBulkBinding"
|
||||
<button class="btn btn-outline-primary btn-sm" data-test="binding-bulk-apply"
|
||||
@onclick="ApplyBulkBinding"
|
||||
disabled="@(_bulkConnectionId == 0)">Apply connection</button>
|
||||
</label>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user