Fix failing tests
CI Pipeline / test (20) (pull_request) Successful in 2m28s
CI Pipeline / test (18) (pull_request) Successful in 2m36s
CI Pipeline / e2e (chromium) (pull_request) Successful in 3m41s
CI Pipeline / e2e (firefox) (pull_request) Successful in 3m55s
CI Pipeline / e2e (webkit) (pull_request) Successful in 4m10s
CI Pipeline / visual-regression (pull_request) Failing after 4m25s
CI Pipeline / storybook (pull_request) Successful in 1m33s
CI Pipeline / performance (pull_request) Successful in 2m31s
CI Pipeline / lint (pull_request) Successful in 1m2s
CI Pipeline / build (pull_request) Successful in 1m28s
CI Pipeline / test (20) (pull_request) Successful in 2m28s
CI Pipeline / test (18) (pull_request) Successful in 2m36s
CI Pipeline / e2e (chromium) (pull_request) Successful in 3m41s
CI Pipeline / e2e (firefox) (pull_request) Successful in 3m55s
CI Pipeline / e2e (webkit) (pull_request) Successful in 4m10s
CI Pipeline / visual-regression (pull_request) Failing after 4m25s
CI Pipeline / storybook (pull_request) Successful in 1m33s
CI Pipeline / performance (pull_request) Successful in 2m31s
CI Pipeline / lint (pull_request) Successful in 1m2s
CI Pipeline / build (pull_request) Successful in 1m28s
This commit is contained in:
@@ -380,6 +380,15 @@ test.describe("Visual Regression Tests", () => {
|
||||
// Navigate to blog listing page
|
||||
await page.goto("/blog");
|
||||
await page.waitForLoadState("networkidle");
|
||||
|
||||
// Wait for blog content to be fully rendered
|
||||
await page.waitForSelector(
|
||||
".grid.grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-3",
|
||||
{ timeout: 10000 },
|
||||
);
|
||||
|
||||
// Additional wait for any dynamic content to render
|
||||
await page.waitForTimeout(1000);
|
||||
await settle(page);
|
||||
|
||||
// Take full page screenshot of blog listing
|
||||
@@ -393,6 +402,12 @@ test.describe("Visual Regression Tests", () => {
|
||||
// Navigate to a specific blog post
|
||||
await page.goto("/blog/resolving-active-conflicts");
|
||||
await page.waitForLoadState("networkidle");
|
||||
|
||||
// Wait for blog post content to be fully rendered
|
||||
await page.waitForSelector("main", { timeout: 10000 });
|
||||
|
||||
// Additional wait for any dynamic content to render
|
||||
await page.waitForTimeout(1000);
|
||||
await settle(page);
|
||||
|
||||
// Take full page screenshot of blog post
|
||||
|
||||
Reference in New Issue
Block a user