diff --git a/apps/web/playwright/booking-pages.test.ts b/apps/web/playwright/booking-pages.test.ts index 88eeae21a6..0e365ef606 100644 --- a/apps/web/playwright/booking-pages.test.ts +++ b/apps/web/playwright/booking-pages.test.ts @@ -31,6 +31,11 @@ test.describe("pro user", () => { await page.click('[data-testid="event-type-link"]'); // Click [data-testid="incrementMonth"] await page.click('[data-testid="incrementMonth"]'); + + // @TODO: Find a better way to make test wait for full month change render to end + // so it can click up on the right day, also when resolve remove other todos + // Waiting for full month increment + await page.waitForTimeout(400); // Click [data-testid="day"] await page.click('[data-testid="day"][data-disabled="false"]'); // Click [data-testid="time"] diff --git a/apps/web/playwright/integrations-stripe.test.ts b/apps/web/playwright/integrations-stripe.test.ts index 0fd437b90d..dbb3c24608 100644 --- a/apps/web/playwright/integrations-stripe.test.ts +++ b/apps/web/playwright/integrations-stripe.test.ts @@ -39,6 +39,11 @@ test.describe.serial("Stripe integration", () => { await page.goto("/pro/paid"); // Click [data-testid="incrementMonth"] await page.click('[data-testid="incrementMonth"]'); + + // @TODO: Find a better way to make test wait for full month change render to end + // so it can click up on the right day, also when resolve remove other todos + // Waiting for full month increment + await page.waitForTimeout(400); // Click [data-testid="day"] await page.click('[data-testid="day"][data-disabled="false"]'); // Click [data-testid="time"] diff --git a/apps/web/playwright/integrations.test.ts b/apps/web/playwright/integrations.test.ts index a0c110fcc9..5a799533af 100644 --- a/apps/web/playwright/integrations.test.ts +++ b/apps/web/playwright/integrations.test.ts @@ -39,6 +39,11 @@ test.describe("integrations", () => { // --- Book the first available day next month in the pro user's "30min"-event await page.goto(`/pro/30min`); await page.click('[data-testid="incrementMonth"]'); + + // @TODO: Find a better way to make test wait for full month change render to end + // so it can click up on the right day, also when resolve remove other todos + // Waiting for full month increment + await page.waitForTimeout(400); await page.click('[data-testid="day"][data-disabled="false"]'); await page.click('[data-testid="time"]');