summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
authorSauli Tähkäpää <sauli@vaadin.com>2014-09-18 08:44:47 +0300
committerVaadin Code Review <review@vaadin.com>2014-09-19 05:43:24 +0000
commit885471e0eaad459e1cfe3deaa9ef379a765e47ce (patch)
tree7785f64e105b087f1ee52c1d0c6e71af99b86817 /uitest
parenta2ed922e7f86db00c75981e2d9a4fc6651b72476 (diff)
downloadvaadin-framework-885471e0eaad459e1cfe3deaa9ef379a765e47ce.tar.gz
vaadin-framework-885471e0eaad459e1cfe3deaa9ef379a765e47ce.zip
Remove invalid overrides from PopupViewShortcutActionHandlerTest.
Change-Id: Ib77b1188239116f065f95f7511311a3af9201f51
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/com/vaadin/tests/components/popupview/PopupViewShortcutActionHandlerTest.java35
1 files changed, 1 insertions, 34 deletions
diff --git a/uitest/src/com/vaadin/tests/components/popupview/PopupViewShortcutActionHandlerTest.java b/uitest/src/com/vaadin/tests/components/popupview/PopupViewShortcutActionHandlerTest.java
index f122e1a415..3005365c47 100644
--- a/uitest/src/com/vaadin/tests/components/popupview/PopupViewShortcutActionHandlerTest.java
+++ b/uitest/src/com/vaadin/tests/components/popupview/PopupViewShortcutActionHandlerTest.java
@@ -15,20 +15,12 @@
*/
package com.vaadin.tests.components.popupview;
-import java.util.Collections;
-import java.util.List;
-
+import com.vaadin.tests.tb3.MultiBrowserTest;
import org.junit.Assert;
import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.Keys;
-import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
-import org.openqa.selenium.phantomjs.PhantomJSDriver;
-import org.openqa.selenium.remote.DesiredCapabilities;
-
-import com.vaadin.testbench.TestBench;
-import com.vaadin.tests.tb3.MultiBrowserTest;
/**
* Check availability of shortcut action listener in the popup view.
@@ -51,29 +43,4 @@ public class PopupViewShortcutActionHandlerTest extends MultiBrowserTest {
+ " shortcut action handling.",
isElementPresent(By.className("shortcut-result")));
}
-
- @Override
- protected void setupDriver() throws Exception {
- System.setProperty("phantomjs.binary.path",
- "C:\\tmp\\phantom\\phantomjs.exe");
- WebDriver dr = TestBench.createDriver(new PhantomJSDriver());
- setDriver(dr);
- }
-
- @Override
- protected String getScreenshotDirectory() {
- return "C:\\tmp\\a";
- }
-
- @Override
- protected void openTestURL() {
- driver.get("http://localhost:8080/vaadin/run/PopupViewShortcutActionHandler");
- }
-
- @Override
- public List<DesiredCapabilities> getBrowsersToTest() {
- return Collections.singletonList(Browser.FIREFOX
- .getDesiredCapabilities());
- }
-
}