use of com.intellij.testGuiFramework.fixtures.SelectSdkDialogFixture in project intellij-community by JetBrains.
the class NewProjectWizardFixture method selectSdkPath.
public NewProjectWizardFixture selectSdkPath(@NotNull File sdkPath, String sdkType) {
final SelectSdkDialogFixture sdkDialogFixture = SelectSdkDialogFixture.find(robot(), sdkType);
sdkDialogFixture.selectPathToSdk(sdkPath).clickOk();
pause(new Condition("Waiting for the returning of focus to dialog: " + target().getTitle()) {
@Override
public boolean test() {
return target().isFocused();
}
}, GuiTestUtil.SHORT_TIMEOUT);
return this;
}
Aggregations