Browse Source

test: calendar flaky test (#8500)

pull/8505/head
Raju Udava 6 months ago committed by GitHub
parent
commit
e94ca15641
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 25
      tests/playwright/tests/db/views/viewCalendar.spec.ts

25
tests/playwright/tests/db/views/viewCalendar.spec.ts

@ -272,17 +272,20 @@ test.describe('Calendar View', () => {
await calendar.sideMenu.verifySideBarRecords({ records: [] }); await calendar.sideMenu.verifySideBarRecords({ records: [] });
await toolbar.calendarViewMode.changeCalendarView({ title: 'week' }); // Test fails in CI consistently as attempt to select cell ends up expanding record often
// Disabled temporarily
await calendar.sideMenu.updateFilter({ filter: 'In selected hours' });
// await toolbar.calendarViewMode.changeCalendarView({ title: 'week' });
await calendar.calendarWeekDateTime.selectHour({ dayIndex: 0, hourIndex: 10 }); //
// await calendar.sideMenu.updateFilter({ filter: 'In selected hours' });
await calendar.sideMenu.verifySideBarRecords({ records: ['Team Catchup'] }); //
// await calendar.calendarWeekDateTime.selectHour({ dayIndex: 0, hourIndex: 10 });
await calendar.calendarWeekDateTime.selectHour({ dayIndex: 0, hourIndex: 1 }); //
// await calendar.sideMenu.verifySideBarRecords({ records: ['Team Catchup'] });
await calendar.sideMenu.verifySideBarRecords({ records: [] }); //
// await calendar.calendarWeekDateTime.selectHour({ dayIndex: 0, hourIndex: 1 });
//
// await calendar.sideMenu.verifySideBarRecords({ records: [] });
await dashboard.viewSidebar.deleteView({ title: 'Calendar' }); await dashboard.viewSidebar.deleteView({ title: 'Calendar' });
}); });

Loading…
Cancel
Save