From aae3f9b22302c01bf6a3e2adfe75533dc1471c08 Mon Sep 17 00:00:00 2001 From: NuttyShrimp Date: Fri, 6 Sep 2024 13:26:12 +0200 Subject: [PATCH] test(permissions): disable page caching on pod route --- loama/tests/permission-table.spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/loama/tests/permission-table.spec.ts b/loama/tests/permission-table.spec.ts index 9dda0c8..10b2f92 100644 --- a/loama/tests/permission-table.spec.ts +++ b/loama/tests/permission-table.spec.ts @@ -83,6 +83,8 @@ test.describe("Permission table", () => { await expect(readPermCheckbox).toBeChecked(); const podPage = await browser.newPage(); + // Disable caching + await podPage.route("**/pod1/README", (route) => route.continue()); await podPage.goto("http://localhost:8080/pod1/README"); await expect(podPage.getByText("Welcome to your pod")).toBeVisible();