use of org.fest.swing.fixture.JButtonFixture in project android by JetBrains.
the class NlConfigurationToolbarFixture method chooseDevice.
/**
* Selects a device matching the given label prefix in the configuration toolbar's device menu
*/
public void chooseDevice(@NotNull String label) {
new JButtonFixture(myRobot, findToolbarButton("Device in Editor")).click();
clickPopupMenuItemMatching(new DeviceNamePredicate(label), myToolBar.getComponent(), myRobot);
}
use of org.fest.swing.fixture.JButtonFixture in project android by JetBrains.
the class AvdManagerDialogFixture method createNew.
public AvdEditWizardFixture createNew() {
JButton newAvdButton = findButtonByText("Create Virtual Device...");
final JButtonFixture button = new JButtonFixture(robot(), newAvdButton);
button.requireEnabled();
button.requireVisible();
button.click();
return AvdEditWizardFixture.find(robot());
}
Aggregations