From: Teemu Suo-Anttila Date: Sat, 22 Mar 2014 12:53:52 +0000 (+0200) Subject: Fix SelectAllRowsTest to not alter existing DesiredCapabilities X-Git-Tag: 7.2.0.beta1~90 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b9ed77c70314bbc0e552ff700cbfa9eb41a89157;p=vaadin-framework.git Fix SelectAllRowsTest to not alter existing DesiredCapabilities Change-Id: I5fe09c76f681ae25a9bb9f78e0eaca4ce4c57951 --- diff --git a/uitest/src/com/vaadin/tests/components/table/SelectAllRowsTest.java b/uitest/src/com/vaadin/tests/components/table/SelectAllRowsTest.java index 2e27675b25..cf6a92c283 100644 --- a/uitest/src/com/vaadin/tests/components/table/SelectAllRowsTest.java +++ b/uitest/src/com/vaadin/tests/components/table/SelectAllRowsTest.java @@ -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; }