Author: yzhishko
Date: 2010-04-16 11:56:34 -0400 (Fri, 16 Apr 2010)
New Revision: 21541
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/ContextMenuDoubleInsertionTest_JBIDE3888.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-6189 - fixed
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/ContextMenuDoubleInsertionTest_JBIDE3888.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/ContextMenuDoubleInsertionTest_JBIDE3888.java 2010-04-16
15:33:11 UTC (rev 21540)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/ContextMenuDoubleInsertionTest_JBIDE3888.java 2010-04-16
15:56:34 UTC (rev 21541)
@@ -12,6 +12,7 @@
import org.jboss.tools.vpe.editor.menu.InsertType;
import org.jboss.tools.vpe.editor.menu.action.InsertAction2;
+import org.jboss.tools.vpe.ui.test.TestUtil;
/**
@@ -61,11 +62,13 @@
"Insert Action", insertionItem, //$NON-NLS-1$
sourceEditor, InsertType.INSERT_INTO);
firstInsertAction.run();
+ TestUtil.delay(2000);
textWidget.setText("");
final InsertAction2 secondInsertAction = new InsertAction2(
"Insert Action", insertionItem, //$NON-NLS-1$
sourceEditor, InsertType.INSERT_INTO);
secondInsertAction.run();
+ TestUtil.delay(2000);
assertTrue(textWidget.getText()
.contains(REQUIRED_STRING));
}