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