summaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/tb3/SingleBrowserTestPhantomJS2.java
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2015-05-15 12:38:01 +0300
committerVaadin Code Review <review@vaadin.com>2015-06-01 06:27:36 +0000
commit90e75a20bda563f90297840f4feb5668cd524633 (patch)
tree5f53384d3f36b733066cdede9ab569f9eb92fb01 /uitest/src/com/vaadin/tests/tb3/SingleBrowserTestPhantomJS2.java
parent4932cecca53b25149ec18dd811c89997ee43e8d9 (diff)
downloadvaadin-framework-90e75a20bda563f90297840f4feb5668cd524633.tar.gz
vaadin-framework-90e75a20bda563f90297840f4feb5668cd524633.zip
Properly handle readonly fields when clearing FieldGroup (#17166)
Change-Id: I42b9fe5d945d23e202a252a8be12976608da19bf
Diffstat (limited to 'uitest/src/com/vaadin/tests/tb3/SingleBrowserTestPhantomJS2.java')
-rw-r--r--uitest/src/com/vaadin/tests/tb3/SingleBrowserTestPhantomJS2.java33
1 files changed, 33 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/tb3/SingleBrowserTestPhantomJS2.java b/uitest/src/com/vaadin/tests/tb3/SingleBrowserTestPhantomJS2.java
new file mode 100644
index 0000000000..a5afe3afce
--- /dev/null
+++ b/uitest/src/com/vaadin/tests/tb3/SingleBrowserTestPhantomJS2.java
@@ -0,0 +1,33 @@
+/*
+ * Copyright 2000-2014 Vaadin Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+package com.vaadin.tests.tb3;
+
+import java.util.Collections;
+import java.util.List;
+
+import org.openqa.selenium.remote.DesiredCapabilities;
+
+import com.vaadin.testbench.parallel.Browser;
+
+public abstract class SingleBrowserTestPhantomJS2 extends
+ PrivateTB3Configuration {
+ @Override
+ public List<DesiredCapabilities> getBrowsersToTest() {
+ DesiredCapabilities p2 = Browser.PHANTOMJS.getDesiredCapabilities();
+ p2.setVersion("2");
+ return Collections.singletonList(p2);
+ }
+}