BakeoutController  0.1
A Controller for the Omicron vacuum chamber
DevicesControllerTestCase.java
1 package unit.ui.controllers.devices_controller;
2 
3 import javafx.scene.control.Button;
4 import org.junit.Before;
6 
10 public abstract class DevicesControllerTestCase extends ControllersTestCase {
11  protected Button newDeviceButton;
12 
13  protected static final String queryForNewDeviceButton = "#newDeviceButton";
14  protected static final String queryForNewDeviceForm = "#newDeviceForm";
15  private static final String queryForDevicesTab = "#devices-tab";
16 
17  @Before
18  public void navigateToDevicesTab(){
19  clickOn(queryForDevicesTab);
20  }
21 
22  @Before
23  public void setNewDeviceButton(){
24  newDeviceButton = lookup(queryForNewDeviceButton).query();
25  }
26 }
Git Repo