diff --git a/frontend/app/ui_components/index.js b/frontend/app/ui_components/index.js index 07685e7865..cfba9c635e 100644 --- a/frontend/app/ui_components/index.js +++ b/frontend/app/ui_components/index.js @@ -46,9 +46,6 @@ angular.module('openproject.uiComponents') .directive('opTime', ['TimezoneService', require('./date/time-directive')]) .directive('opDateTime', ['$compile', 'TimezoneService', require('./date/date-time-directive')]) .directive('emptyElement', [require('./empty-element-directive')]) - .directive('opDateRangePicker', ['TimezoneService', 'ConfigurationService', - 'I18n', '$timeout', 'WorkPackageFieldService', - 'EditableFieldsState', 'Datepicker', require('./date/date-range-picker-directive')]) .constant('ENTER_KEY', 13) .directive('executeOnEnter', ['ENTER_KEY', require( './execute-on-enter-directive')]) diff --git a/frontend/tests/integration/specs/work-packages/details-pane/custom-fields/date-editable-spec.js b/frontend/tests/integration/specs/work-packages/details-pane/custom-fields/date-editable-spec.js index 11f45adc93..a32d29df57 100644 --- a/frontend/tests/integration/specs/work-packages/details-pane/custom-fields/date-editable-spec.js +++ b/frontend/tests/integration/specs/work-packages/details-pane/custom-fields/date-editable-spec.js @@ -104,6 +104,7 @@ describe('details pane', function() { describe('date selection', function() { it('changes date by clicking on calendar', function() { dateInput.click(); + browser.waitForAngular(); datepicker.selectMonthAndYear(dateInput, 4, 2015); datepicker.clickDate(dateInput, date, '9').then(function() { datepicker.expectedDate(date, '2015-04-09');