message: Add integration datetimepicker tests
diff: @@ -9,10 +9,16 @@ describe('e2e - DateTimePicker', () => {
  beforeEach(() => {
  jest.clearAllMocks();
  component = mount(<DateTimePicker
  - openTo="days"
  - fadeTimeout={0}
  date={utilsToUse.date('2018-01-01T00:00:00.000Z')}
  onChange={onChangeMock}
  + openTo="date"
  + fadeTimeout={0}
  + minDate="1900-01-01"
  + maxDate="2100-01-01"
  + leftArrowIcon="keyboard_arrow_left"
  + rightArrowIcon="keyboard_arrow_right"
  + dateRangeIcon="date_range"
  + timeIcon="access_time"
  />);
  });
  @@ -24,10 +30,28 @@ describe('e2e - DateTimePicker', () => {
  component.find('ToolbarButton').first().simulate('click');
  expect(component.find('Year').length).toBe(201);
  - console.log(component.debug());
  -
  component.find('Year').at(1).simulate('click');
  expect(onChangeMock).toHaveBeenCalled();
  });
  +
  + it('Should render hour view', () => {
  + component.find('ToolbarButton').at(2).simulate('click');
  + expect(component.find('HourView').length).toBe(1);
  + });
  +
  + it('Should render minutes view', () => {
  + component.find('ToolbarButton').at(4).simulate('click');
  + expect(component.find('MinutesView').length).toBe(1);
  + });
  +
  + it('Should change meridiem', () => {
  + component.find('ToolbarButton').at(6).simulate('click');
  +
  + if (process.env.UTILS === 'moment') {
  + expect(onChangeMock).toHaveBeenCalled();
  + }
  +
  + expect(onChangeMock).toHaveBeenCalledWith(utilsToUse.date('2018-01-01T12:00:00.000Z'), false);
  + });
  });
  