Search in sources :

Example 1 with DialogMatcher

use of org.fest.swing.core.matcher.DialogMatcher in project intellij-community by JetBrains.

the class ConfigureProjectSubsetDialogFixture method find.

@NotNull
public static ConfigureProjectSubsetDialogFixture find(@NotNull Robot robot) {
    DialogMatcher matcher = withTitle("Select Modules to Include in Project Subset").andShowing();
    DialogFixture dialog = findDialog(matcher).withTimeout(SHORT_TIMEOUT.duration()).using(robot);
    return new ConfigureProjectSubsetDialogFixture(dialog);
}
Also used : DialogMatcher(org.fest.swing.core.matcher.DialogMatcher) DialogFixture(org.fest.swing.fixture.DialogFixture) NotNull(org.jetbrains.annotations.NotNull)

Aggregations

DialogMatcher (org.fest.swing.core.matcher.DialogMatcher)1 DialogFixture (org.fest.swing.fixture.DialogFixture)1 NotNull (org.jetbrains.annotations.NotNull)1