diff --git a/tests/playwright/pages/Dashboard/Calendar/CalendarDayDateTime.ts b/tests/playwright/pages/Dashboard/Calendar/CalendarDayDateTime.ts index 9b1be32a42..ecb3caa231 100644 --- a/tests/playwright/pages/Dashboard/Calendar/CalendarDayDateTime.ts +++ b/tests/playwright/pages/Dashboard/Calendar/CalendarDayDateTime.ts @@ -26,14 +26,12 @@ export class CalendarDayDateTimePage extends BasePage { await recordCard.scrollIntoViewIfNeeded(); await recordCard.hover(); await this.rootPage.mouse.down(); - await this.rootPage.waitForTimeout(500); - - await toDay.scrollIntoViewIfNeeded(); - // Bit Flaky await this.rootPage.waitForTimeout(500); - await this.rootPage.mouse.move(cord.x + cord.width / 2, cord.y + cord.height / 2); + await this.rootPage.mouse.move(cord.x + cord.width / 2, cord.y + cord.height / 2, { + steps: 10, + }); // Bit Flaky await this.rootPage.waitForTimeout(500);