refactor: simplify widget reload persistence

This commit is contained in:
Thomas Camlong committed 2026-08-23 09:00:33 +02:00
1 parent 65a96b6b14
commit 89e4cb843d
8 files changed
+79 -241

No files matched your search

-3
View File
@@ -102,9 +102,6 @@ describe("lazy widget application graph", () => {
const baseUrl = `http://${homarrContainer.getHost()}:${homarrContainer.getMappedPort(7575)}`;
const browser = await chromium.launch();
// Playwright cannot route requests handled by a service worker. Keep it
// blocked in this context so the delayed refresh below is observable, then
// verify registration separately in an unblocked context.
const context = await browser.newContext({ serviceWorkers: "block" });
const page = await context.newPage();
const pageErrors: Error[] = [];