summaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/contextclick/AbstractContextClickTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/src/com/vaadin/tests/contextclick/AbstractContextClickTest.java')
-rw-r--r--uitest/src/com/vaadin/tests/contextclick/AbstractContextClickTest.java13
1 files changed, 11 insertions, 2 deletions
diff --git a/uitest/src/com/vaadin/tests/contextclick/AbstractContextClickTest.java b/uitest/src/com/vaadin/tests/contextclick/AbstractContextClickTest.java
index ce97c87b75..cff063db5f 100644
--- a/uitest/src/com/vaadin/tests/contextclick/AbstractContextClickTest.java
+++ b/uitest/src/com/vaadin/tests/contextclick/AbstractContextClickTest.java
@@ -22,6 +22,7 @@ import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.junit.Assert;
+import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.Point;
import org.openqa.selenium.WebElement;
@@ -40,14 +41,22 @@ public abstract class AbstractContextClickTest extends MultiBrowserTest {
.compile("[0-9]+. ContextClickEvent: [(]([0-9]+), ([0-9]+)[)]");
@Override
+ protected boolean useNativeEventsForIE() {
+ return false;
+ }
+
+ @Override
public List<DesiredCapabilities> getBrowsersToTest() {
return getBrowsersSupportingContextMenu();
}
- @Test
- public void testDefaultListener() {
+ @Before
+ public void setUp() {
openTestURL();
+ }
+ @Test
+ public void testDefaultListener() {
addOrRemoveDefaultListener();
assertDefaultContextClickListener(1);