refactor: simplify widget reload persistence
This commit is contained in:
8 files changed
+79
-241
No files matched your search
@@ -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[] = [];
|
||||
|
||||
Reference in new issue
Block a user