@@ -953,36 +953,6 @@ describe('Appointment Form', () => {
953953 expect ( POM . popup . getInputValue ( 'endDateEditor' ) ) . toBe ( '5/1/2017' ) ;
954954 expect ( POM . popup . isInputVisible ( 'endTimeEditor' ) ) . toBeFalsy ( ) ;
955955 } ) ;
956-
957- it ( 'should show correct dates after switching off allDay and canceling changes (T832711)' , async ( ) => {
958- const { scheduler, POM } = await createScheduler ( undefined ) ;
959-
960- scheduler . showAppointmentPopup ( allDayAppointment ) ;
961- POM . popup . getInput ( 'allDayEditor' ) . click ( ) ;
962- POM . popup . cancelButton . click ( ) ;
963-
964- scheduler . showAppointmentPopup ( allDayAppointment ) ;
965-
966- expect ( POM . popup . getInputValue ( 'startDateEditor' ) ) . toBe ( '5/1/2017' ) ;
967- expect ( POM . popup . isInputVisible ( 'startTimeEditor' ) ) . toBeFalsy ( ) ;
968- expect ( POM . popup . getInputValue ( 'endDateEditor' ) ) . toBe ( '5/1/2017' ) ;
969- expect ( POM . popup . isInputVisible ( 'endTimeEditor' ) ) . toBeFalsy ( ) ;
970- } ) ;
971-
972- it ( 'should show correct dates after switching on allDay and canceling changes (T832711)' , async ( ) => {
973- const { scheduler, POM } = await createScheduler ( getDefaultConfig ( ) ) ;
974-
975- scheduler . showAppointmentPopup ( commonAppointment ) ;
976- POM . popup . getInput ( 'allDayEditor' ) . click ( ) ;
977- POM . popup . cancelButton . click ( ) ;
978-
979- scheduler . showAppointmentPopup ( commonAppointment ) ;
980-
981- expect ( POM . popup . getInputValue ( 'startDateEditor' ) ) . toBe ( '5/9/2017' ) ;
982- expect ( POM . popup . getInputValue ( 'startTimeEditor' ) ) . toBe ( '9:30 AM' ) ;
983- expect ( POM . popup . getInputValue ( 'endDateEditor' ) ) . toBe ( '5/9/2017' ) ;
984- expect ( POM . popup . getInputValue ( 'endTimeEditor' ) ) . toBe ( '11:00 AM' ) ;
985- } ) ;
986956 } ) ;
987957
988958 describe ( 'Timezone Editors' , ( ) => {
0 commit comments