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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user