diff --git a/tests/e2e/pages/notion-article-list.spec.ts b/tests/e2e/pages/notion-article-list.spec.ts index d3d9e2f..08e433b 100644 --- a/tests/e2e/pages/notion-article-list.spec.ts +++ b/tests/e2e/pages/notion-article-list.spec.ts @@ -68,7 +68,7 @@ notionPages.forEach((pageName) => { page, }) => { await page.goto(pagePath) - await page.waitForTimeout(1500) // wait for layout render script execution + await page.waitForTimeout(3000) // wait for layout render script execution await expect(page).toHaveScreenshot( `${pageName}-screenshot.png`, screenshotOption diff --git a/tests/e2e/pages/notion-single.spec.ts b/tests/e2e/pages/notion-single.spec.ts index 993bd03..8e5d341 100644 --- a/tests/e2e/pages/notion-single.spec.ts +++ b/tests/e2e/pages/notion-single.spec.ts @@ -65,7 +65,7 @@ notionPages.forEach((pageName) => { page, }) => { await page.goto(pagePath) - await page.waitForTimeout(1500) // wait for layout render script execution + await page.waitForTimeout(3000) // wait for layout render script execution await expect(page).toHaveScreenshot( `${pageName}-screenshot.png`, screenshotOption diff --git a/tests/e2e/pages/static.spec.ts b/tests/e2e/pages/static.spec.ts index 1c06736..27c8e5c 100644 --- a/tests/e2e/pages/static.spec.ts +++ b/tests/e2e/pages/static.spec.ts @@ -49,7 +49,7 @@ staticPages.forEach((pageName) => { page, }) => { await page.goto(pagePath) - await page.waitForTimeout(1500) // wait for layout render script execution + await page.waitForTimeout(3000) // wait for layout render script execution await expect(page).toHaveScreenshot( `${pageName}-screenshot.png`, screenshotOption