diff options
Diffstat (limited to 'org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/gitflow/AbstractFeatureFinishHandlerTest.java')
-rw-r--r-- | org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/gitflow/AbstractFeatureFinishHandlerTest.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/gitflow/AbstractFeatureFinishHandlerTest.java b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/gitflow/AbstractFeatureFinishHandlerTest.java index f527bad32b..e66ff5e1a6 100644 --- a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/gitflow/AbstractFeatureFinishHandlerTest.java +++ b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/gitflow/AbstractFeatureFinishHandlerTest.java @@ -9,6 +9,7 @@ package org.eclipse.egit.ui.gitflow; import static org.eclipse.swtbot.swt.finder.waits.Conditions.shellIsActive; +import static org.junit.Assert.assertFalse; import org.eclipse.core.runtime.CoreException; import org.eclipse.egit.core.op.BranchOperation; @@ -94,7 +95,12 @@ public abstract class AbstractFeatureFinishHandlerTest extends AbstractGitflowHa }); bot.waitUntil(shellIsActive(UIText.FeatureCheckoutHandler_selectFeature)); - bot.table().select(featureName); + bot.text().setText("these are not the features you're looking for"); + bot.sleep(300); // wait for filter to hit + assertFalse(bot.tree().hasItems()); + bot.text().selectAll(); + bot.text().typeText(featureName); + bot.tree().select(featureName); bot.button("OK").click(); bot.waitUntil(Conditions.waitForJobs(JobFamilies.GITFLOW_FAMILY, "Git flow jobs")); } |