File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -329,7 +329,7 @@ describe('Isolated AppointmentPopup environment', () => {
329329 } ) ;
330330 } ) ;
331331
332- it ( 'should propagate firstDayOfWeek to editor calendars' , async ( ) => {
332+ it ( 'should propagate firstDayOfWeek to editor calendars and recurrence week day buttons ' , async ( ) => {
333333 const { POM } = await createAppointmentPopup ( {
334334 appointmentData : {
335335 text : 'common-app' ,
@@ -343,9 +343,11 @@ describe('Isolated AppointmentPopup environment', () => {
343343 const startDateFDOW = POM . dxForm . getEditor ( 'startDateEditor' ) ?. option ( 'calendarOptions.firstDayOfWeek' ) ;
344344 const endDateFDOW = POM . dxForm . getEditor ( 'endDateEditor' ) ?. option ( 'calendarOptions.firstDayOfWeek' ) ;
345345 const recurrenceStartFDOW = POM . dxForm . getEditor ( 'recurrenceStartDateEditor' ) ?. option ( 'calendarOptions.firstDayOfWeek' ) ;
346+ const weekDayButtonsText = POM . recurrenceWeekDayButtons . textContent ;
346347
347348 expect ( startDateFDOW ) . toBe ( 1 ) ;
348349 expect ( endDateFDOW ) . toBe ( 1 ) ;
349350 expect ( recurrenceStartFDOW ) . toBe ( 1 ) ;
351+ expect ( weekDayButtonsText ) . toBe ( 'MTWTFSS' ) ;
350352 } ) ;
351353} ) ;
You can’t perform that action at this time.
0 commit comments