Fix flaky permissionsScreen test by using unrouteAll with ignoreErrors

This commit is contained in:
Asier Isayas
2026-04-06 12:07:17 -07:00
parent cdb26a24ed
commit bcfb56d18a

View File

@@ -20,7 +20,7 @@ test.describe("Container Copy - Permission Screen Verification", () => {
}); });
test.afterEach("Cleanup after each test", async () => { test.afterEach("Cleanup after each test", async () => {
await page.unroute(/.*/, (route) => route.continue()); await page.unrouteAll({ behavior: "ignoreErrors" });
await page.close(); await page.close();
}); });