diff --git a/packages/nc-gui/components/smartsheet/calendar/WeekView/DateTimeField.vue b/packages/nc-gui/components/smartsheet/calendar/WeekView/DateTimeField.vue index 8719673e3b..d6377dbc69 100644 --- a/packages/nc-gui/components/smartsheet/calendar/WeekView/DateTimeField.vue +++ b/packages/nc-gui/components/smartsheet/calendar/WeekView/DateTimeField.vue @@ -166,8 +166,8 @@ const recordsAcrossAllRange = computed<{ style = { ...style, - top: `${hourIndex * perHeight - hourIndex + 3}px`, - height: `${perHeight - 4}px`, + top: `${hourIndex * perHeight - hourIndex + 5}px`, + height: `${perHeight - 7}px`, } recordsToDisplay.push({ diff --git a/tests/playwright/pages/Dashboard/Calendar/CalendarWeekDateTime.ts b/tests/playwright/pages/Dashboard/Calendar/CalendarWeekDateTime.ts index 4d4883f241..41566251aa 100644 --- a/tests/playwright/pages/Dashboard/Calendar/CalendarWeekDateTime.ts +++ b/tests/playwright/pages/Dashboard/Calendar/CalendarWeekDateTime.ts @@ -51,8 +51,8 @@ export class CalendarWeekDateTimePage extends BasePage { await hour.click({ force: true, position: { - x: 0, - y: 1, + x: 1, + y: 0, }, }); } diff --git a/tests/playwright/tests/db/views/viewCalendar.spec.ts b/tests/playwright/tests/db/views/viewCalendar.spec.ts index 4a60dd9529..be0d90420c 100644 --- a/tests/playwright/tests/db/views/viewCalendar.spec.ts +++ b/tests/playwright/tests/db/views/viewCalendar.spec.ts @@ -277,8 +277,6 @@ test.describe('Calendar View', () => { await calendar.calendarWeekDateTime.selectHour({ dayIndex: 0, hourIndex: 10 }); - await calendar.calendarWeekDateTime.selectHour({ dayIndex: 0, hourIndex: 10 }); - await calendar.sideMenu.updateFilter({ filter: 'In selected hours' }); await calendar.sideMenu.verifySideBarRecords({ records: ['Team Catchup'] });