Skip to content

Commit b72c6fd

Browse files
authored
chore: sync app-router e2e (#461)
1 parent 20f0095 commit b72c6fd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/e2e/app-router/e2e/revalidateTag.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ test("Revalidate path", async ({ page, request }) => {
7777
elLayout = page.getByText("Date:");
7878
const initialDate = await elLayout.textContent();
7979

80+
// Wait so that enough time passes for the data on the page to update when revalidating
81+
await page.waitForTimeout(2000);
82+
8083
// Send revalidate path request
8184
const result = await request.get("/api/revalidate-path");
8285
expect(result.status()).toEqual(200);

0 commit comments

Comments
 (0)