test(playwright): row-28 follow-through — three dialog flows still expected the old 'Delete' label (SiteCalls Discard, Notification Discard, Instance Disable); labels went explicit in 0db253b5 but these text asserts/filters were missed because that wave's suite run predated the rig redeploy
This commit is contained in:
+2
-2
@@ -98,8 +98,8 @@ public class DeploymentActionTests : IClassFixture<DeploymentFixture>
|
||||
.ClickAsync();
|
||||
|
||||
// Disable is a danger action: it raises a confirm modal first. Confirm via
|
||||
// the danger button (labelled "Delete" for every danger confirm).
|
||||
await page.Locator(".modal-footer .btn-danger", new() { HasText = "Delete" })
|
||||
// the danger button (explicit "Disable" label since row 28).
|
||||
await page.Locator(".modal-footer .btn-danger", new() { HasText = "Disable" })
|
||||
.ClickAsync();
|
||||
|
||||
// One outcome toast (confirmation or fast error). ToHaveCountAsync retries
|
||||
|
||||
Reference in New Issue
Block a user