{
// show the correct tab
click("#defaultControl");
// get the node
LocalTimePicker lLocalTimePicker = (LocalTimePicker)find("#id1"); // TODO: this should be accessible through .LocalTimePicker
Text lLabelText = (Text)find(".timeLabel");
// default value is not null
Assert.assertNotNull(lLocalTimePicker.getLocalTime());
Assert.assertEquals(1, lLocalTimePicker.getMinuteStep().intValue());
// set time to 12:30:00
TestUtil.runThenWaitForPaintPulse( () -> {
lLocalTimePicker.setLocalTime(LocalTime.of(20, 30, 00));
});
// assert notation
Assert.assertEquals("8:30 PM", lLabelText.getText());
}