Skip to content

Commit

Permalink
test(permissions): disable page caching on pod route
Browse files Browse the repository at this point in the history
  • Loading branch information
NuttyShrimp committed Sep 6, 2024
1 parent c2b712d commit aae3f9b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions loama/tests/permission-table.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit aae3f9b

Please sign in to comment.