@@ -17,15 +17,15 @@ test('Should correctly update appointment if dataSource is a simple array', asyn
1717 const scheduler = new Scheduler ( SCHEDULER_SELECTOR ) ;
1818 const appointment = scheduler . getAppointment ( INITIAL_APPOINTMENT_TITLE ) ;
1919 const updatedAppointment = scheduler . getAppointment ( UPDATED_APPOINTMENT_TITLE ) ;
20- const { appointmentPopup } = scheduler ;
20+ const { legacyAppointmentPopup : appointmentPopup } = scheduler ;
2121
2222 await t
2323 . doubleClick ( appointment . element , CLICK_OPTIONS )
24- . click ( appointmentPopup . textEditor . element )
25- . typeText ( appointmentPopup . textEditor . element , ADDITIONAL_TITLE_TEXT )
26- . expect ( appointmentPopup . textEditor . element . value )
24+ . click ( appointmentPopup . subjectElement )
25+ . typeText ( appointmentPopup . subjectElement , ADDITIONAL_TITLE_TEXT )
26+ . expect ( appointmentPopup . subjectElement . value )
2727 . eql ( UPDATED_APPOINTMENT_TITLE )
28- . click ( appointmentPopup . saveButton . element )
28+ . click ( appointmentPopup . doneButton )
2929 . expect ( updatedAppointment . element . exists )
3030 . ok ( ) ;
3131} ) . before ( async ( ) => createWidget ( 'dxScheduler' , {
@@ -48,15 +48,15 @@ test('Should correctly update appointment if dataSource is a Store with key arra
4848 const scheduler = new Scheduler ( SCHEDULER_SELECTOR ) ;
4949 const appointment = scheduler . getAppointment ( INITIAL_APPOINTMENT_TITLE ) ;
5050 const updatedAppointment = scheduler . getAppointment ( UPDATED_APPOINTMENT_TITLE ) ;
51- const { appointmentPopup } = scheduler ;
51+ const { legacyAppointmentPopup : appointmentPopup } = scheduler ;
5252
5353 await t
5454 . doubleClick ( appointment . element , CLICK_OPTIONS )
55- . click ( appointmentPopup . textEditor . element )
56- . typeText ( appointmentPopup . textEditor . element , ADDITIONAL_TITLE_TEXT )
57- . expect ( appointmentPopup . textEditor . element . value )
55+ . click ( appointmentPopup . subjectElement )
56+ . typeText ( appointmentPopup . subjectElement , ADDITIONAL_TITLE_TEXT )
57+ . expect ( appointmentPopup . subjectElement . value )
5858 . eql ( UPDATED_APPOINTMENT_TITLE )
59- . click ( appointmentPopup . saveButton . element )
59+ . click ( appointmentPopup . doneButton )
6060 . expect ( updatedAppointment . element . exists )
6161 . ok ( ) ;
6262} ) . before ( async ( ) => {
0 commit comments