use of org.fest.swing.fixture.JPanelFixture in project aspro by JMMC-OpenDev.
the class AsproNightBoundsTest method shouldChangeDateForDEMO.
/**
* Test observability plot when updating the observation date
*/
@Test
@GUITest
public void shouldChangeDateForDEMO() {
initTest();
final JPanelFixture form = window.panel("observationForm");
// select DEMO interferometer :
form.comboBox("jComboBoxInterferometer").selectItem("DEMO");
// waits for computation to finish :
AsproTestUtils.checkRunningTasks();
final JSpinnerFixture dateSpinner = form.spinner("jDateSpinner");
traverseDays(dateSpinner);
}
use of org.fest.swing.fixture.JPanelFixture in project aspro by JMMC-OpenDev.
the class AsproObservabilityTest method shouldChangeDateForVLTI.
/**
* Test observability plot when updating the observation date
*/
@Test
@GUITest
public void shouldChangeDateForVLTI() {
initTest();
final JPanelFixture form = window.panel("observationForm");
// select VLTI interferometer :
// form.comboBox("jComboBoxInterferometer").selectItem("VLTI");
// waits for computation to finish :
AsproTestUtils.checkRunningTasks();
final JSpinnerFixture dateSpinner = form.spinner("jDateSpinner");
traverseDays(dateSpinner);
}
Aggregations