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:
Joseph Doherty
2026-08-16 04:34:56 -04:00
parent b6676a89e6
commit 019edf1c46
3 changed files with 9 additions and 9 deletions
@@ -153,11 +153,11 @@ public class NotificationActionTests
await Assertions.Expect(row.Locator("button.btn.btn-outline-danger")).ToBeVisibleAsync();
await row.Locator("button.btn.btn-outline-danger").ClickAsync();
// Confirm the action — danger footer button labelled "Delete" (the discard
// Confirm the action — danger footer button labelled "Discard" (the discard
// dialog opens with danger: true).
var deleteButton = page.Locator(".modal-footer .btn-danger");
await Assertions.Expect(deleteButton).ToBeVisibleAsync();
await Assertions.Expect(deleteButton).ToHaveTextAsync("Delete");
await Assertions.Expect(deleteButton).ToHaveTextAsync("Discard");
await deleteButton.ClickAsync();
// The discard moves the central row to Discarded and surfaces a single success