]> source.dussan.org Git - vaadin-framework.git/commitdiff
Remove invalid overrides from PopupViewShortcutActionHandlerTest.
authorSauli Tähkäpää <sauli@vaadin.com>
Thu, 18 Sep 2014 05:44:47 +0000 (08:44 +0300)
committerVaadin Code Review <review@vaadin.com>
Fri, 19 Sep 2014 05:43:24 +0000 (05:43 +0000)
Change-Id: Ib77b1188239116f065f95f7511311a3af9201f51

uitest/src/com/vaadin/tests/components/popupview/PopupViewShortcutActionHandlerTest.java

index f122e1a41520073d0bf0e3c6efccdc16c89b093a..3005365c4717c9796da0af9ea07ff67a21820f0d 100644 (file)
  */
 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());
-    }
-
 }