From 172d70f33b42bd528fb5e6c4d186eb472d4532df Mon Sep 17 00:00:00 2001 From: James Date: Thu, 13 Mar 2025 20:56:50 +0000 Subject: [PATCH] chore: sync app-router e2e --- examples/e2e/app-router/e2e/revalidateTag.test.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/e2e/app-router/e2e/revalidateTag.test.ts b/examples/e2e/app-router/e2e/revalidateTag.test.ts index 1dea31dd..f819275e 100644 --- a/examples/e2e/app-router/e2e/revalidateTag.test.ts +++ b/examples/e2e/app-router/e2e/revalidateTag.test.ts @@ -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);