@Test @UseWithField(field = "booleanValue", valuesFrom = FROM_FIELD, value = "booleans") @Templates("plain") public void testShowFooter() { setCurrentDateWithCalendarsTodayButtonAction.perform(); calendarAttributes.set(CalendarAttributes.showFooter, booleanValue); PopupFooterControls fc = popupCalendar.openPopup().getFooterControls(); if (booleanValue) { assertTrue(fc.isVisible(), "Footer elements should be visible, when footer is rendered"); assertListOfWebElementsVisible( Arrays.asList( fc.getApplyButtonElement(), fc.getCleanButtonElement(), fc.getTimeEditorOpenerElement(), fc.getTodayButtonElement())); } else { assertFalse( fc.isVisible(), "Footer elements should not be visible, when footer is not rendered"); } }