Fix flaky device verification test (#33909)

This rejectToast was added erroneously: as the comment above states,
there should be no toast left after we verify (apart from our old
friend the notifications nag toast). This was probably flaking because
it was racing to reject the toast before it vanished.
This commit is contained in:
David Baker
2026-06-19 12:50:51 +00:00
committed by GitHub
parent 338c18df16
commit 29ca395d08
@@ -121,7 +121,6 @@ test.describe("Device verification", { tag: "@no-webkit" }, () => {
await infoDialog.getByRole("button", { name: "Got it" }).click();
// There should be no toast (other than the notifications one)
await rejectToast(page, "Verify this device");
await rejectToast(page, "Notifications");
await assertNoToasts(page);