From b9ed77c70314bbc0e552ff700cbfa9eb41a89157 Mon Sep 17 00:00:00 2001 From: Teemu Suo-Anttila Date: Sat, 22 Mar 2014 14:53:52 +0200 Subject: [PATCH] Fix SelectAllRowsTest to not alter existing DesiredCapabilities Change-Id: I5fe09c76f681ae25a9bb9f78e0eaca4ce4c57951 --- .../com/vaadin/tests/components/table/SelectAllRowsTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.39.5