]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fix SelectAllRowsTest to not alter existing DesiredCapabilities
authorTeemu Suo-Anttila <teemusa@vaadin.com>
Sat, 22 Mar 2014 12:53:52 +0000 (14:53 +0200)
committerTeemu Suo-Anttila <teemusa@vaadin.com>
Sat, 22 Mar 2014 12:53:52 +0000 (14:53 +0200)
Change-Id: I5fe09c76f681ae25a9bb9f78e0eaca4ce4c57951

uitest/src/com/vaadin/tests/components/table/SelectAllRowsTest.java

index 2e27675b2586606f52b13c75ff819eb522e45cc1..cf6a92c2838bffb397465e3807799e4779a6f7da 100644 (file)
@@ -39,7 +39,8 @@ public class SelectAllRowsTest extends MultiBrowserTest {
 
     @Override
     protected DesiredCapabilities getDesiredCapabilities() {
-        DesiredCapabilities cap = super.getDesiredCapabilities();
+        DesiredCapabilities cap = new DesiredCapabilities(
+                super.getDesiredCapabilities());
         cap.setCapability("requireWindowFocus", true);
         return cap;
     }