Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions examples/e2e/app-router/e2e/revalidateTag.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ test("Revalidate path", async ({ page, request }) => {
elLayout = page.getByText("Date:");
const initialDate = await elLayout.textContent();

// Wait so that enough time passes for the data on the page to update when revalidating
await page.waitForTimeout(2000);

// Send revalidate path request
const result = await request.get("/api/revalidate-path");
expect(result.status()).toEqual(200);
Expand Down