summaryrefslogtreecommitdiffstats
path: root/uitest/src/com
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-12-07 15:54:30 +0200
committerVaadin Code Review <review@vaadin.com>2012-12-07 14:58:57 +0000
commit0b1a42385a4f527e0224a7d1c718236f297878a8 (patch)
tree91d1ff0bdc8742f64b50569378dce422858c11f5 /uitest/src/com
parent8fcde69c2a970b9f175e0c599ab2bc2dc12b0b49 (diff)
downloadvaadin-framework-0b1a42385a4f527e0224a7d1c718236f297878a8.tar.gz
vaadin-framework-0b1a42385a4f527e0224a7d1c718236f297878a8.zip
Hide footer to be screenshot compatible (#10478, #10080)
Change-Id: I5c18ec975c99bda4b44492252eefe34c307b34da
Diffstat (limited to 'uitest/src/com')
-rw-r--r--uitest/src/com/vaadin/tests/components/customfield/AbstractNestedFormExample.java1
-rw-r--r--uitest/src/com/vaadin/tests/components/customfield/BooleanFieldExample.java1
-rw-r--r--uitest/src/com/vaadin/tests/components/datefield/DateFieldInSubWindow.java1
-rw-r--r--uitest/src/com/vaadin/tests/components/form/FormClearDatasourceRepaint.java1
-rw-r--r--uitest/src/com/vaadin/tests/components/form/FormCommitWithInvalidValues.java1
-rw-r--r--uitest/src/com/vaadin/tests/components/window/UndefinedHeightSubWindowAndContent.java1
-rw-r--r--uitest/src/com/vaadin/tests/validation/EmptyFieldErrorIndicators.java1
7 files changed, 7 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/components/customfield/AbstractNestedFormExample.java b/uitest/src/com/vaadin/tests/components/customfield/AbstractNestedFormExample.java
index 07c740a96d..eb73e45616 100644
--- a/uitest/src/com/vaadin/tests/components/customfield/AbstractNestedFormExample.java
+++ b/uitest/src/com/vaadin/tests/components/customfield/AbstractNestedFormExample.java
@@ -60,6 +60,7 @@ public abstract class AbstractNestedFormExample extends TestBase {
if (event.getProperty().getValue() != null) {
personForm = new NestedPersonForm((Person) event
.getProperty().getValue(), embeddedAddress);
+ personForm.setFooter(null);
personForm.setWidth("350px");
addComponent(personForm);
}
diff --git a/uitest/src/com/vaadin/tests/components/customfield/BooleanFieldExample.java b/uitest/src/com/vaadin/tests/components/customfield/BooleanFieldExample.java
index a52b168e84..66346287ba 100644
--- a/uitest/src/com/vaadin/tests/components/customfield/BooleanFieldExample.java
+++ b/uitest/src/com/vaadin/tests/components/customfield/BooleanFieldExample.java
@@ -45,6 +45,7 @@ public class BooleanFieldExample extends TestBase {
layout.setMargin(true);
final Form form = new Form();
+ form.setFooter(null);
form.setFormFieldFactory(new DefaultFieldFactory() {
@Override
public Field createField(Item item, Object propertyId,
diff --git a/uitest/src/com/vaadin/tests/components/datefield/DateFieldInSubWindow.java b/uitest/src/com/vaadin/tests/components/datefield/DateFieldInSubWindow.java
index d6fbb465e8..fab97f46cb 100644
--- a/uitest/src/com/vaadin/tests/components/datefield/DateFieldInSubWindow.java
+++ b/uitest/src/com/vaadin/tests/components/datefield/DateFieldInSubWindow.java
@@ -88,6 +88,7 @@ public class DateFieldInSubWindow extends AbstractTestCase {
CustomerFieldFactory fieldFactory = new CustomerFieldFactory();
final Form generalForm = new Form();
{
+ generalForm.setFooter(null);
generalForm.setCaption("My form");
generalForm.setBuffered(false);
generalForm.setFormFieldFactory(fieldFactory);
diff --git a/uitest/src/com/vaadin/tests/components/form/FormClearDatasourceRepaint.java b/uitest/src/com/vaadin/tests/components/form/FormClearDatasourceRepaint.java
index ad6b13f6d2..df403ceb78 100644
--- a/uitest/src/com/vaadin/tests/components/form/FormClearDatasourceRepaint.java
+++ b/uitest/src/com/vaadin/tests/components/form/FormClearDatasourceRepaint.java
@@ -38,6 +38,7 @@ public class FormClearDatasourceRepaint extends TestBase {
protected void setup() {
final Form form = new Form();
+ form.setFooter(null);
form.setItemDataSource(new BeanItem<MySecondBean>(new MySecondBean()));
addComponent(form);
diff --git a/uitest/src/com/vaadin/tests/components/form/FormCommitWithInvalidValues.java b/uitest/src/com/vaadin/tests/components/form/FormCommitWithInvalidValues.java
index 907b8a27f3..b6b0624ba0 100644
--- a/uitest/src/com/vaadin/tests/components/form/FormCommitWithInvalidValues.java
+++ b/uitest/src/com/vaadin/tests/components/form/FormCommitWithInvalidValues.java
@@ -26,6 +26,7 @@ public class FormCommitWithInvalidValues extends TestBase {
@Override
protected void setup() {
form = new Form();
+ form.setFooter(null);
TextField tf = new TextField("A field, must contain 1-2 chars");
tf.addValidator(new StringLengthValidator("Invalid length", 1, 2, false));
tf.setRequired(true);
diff --git a/uitest/src/com/vaadin/tests/components/window/UndefinedHeightSubWindowAndContent.java b/uitest/src/com/vaadin/tests/components/window/UndefinedHeightSubWindowAndContent.java
index 715d089f57..1a34e90446 100644
--- a/uitest/src/com/vaadin/tests/components/window/UndefinedHeightSubWindowAndContent.java
+++ b/uitest/src/com/vaadin/tests/components/window/UndefinedHeightSubWindowAndContent.java
@@ -20,6 +20,7 @@ public class UndefinedHeightSubWindowAndContent extends TestBase {
subWindow.setContent(layout);
final Form form = new Form();
+ form.setFooter(null);
form.setImmediate(true);
form.setValidationVisible(true);
form.setCaption("This is a form");
diff --git a/uitest/src/com/vaadin/tests/validation/EmptyFieldErrorIndicators.java b/uitest/src/com/vaadin/tests/validation/EmptyFieldErrorIndicators.java
index a62eb62e71..11f98eb888 100644
--- a/uitest/src/com/vaadin/tests/validation/EmptyFieldErrorIndicators.java
+++ b/uitest/src/com/vaadin/tests/validation/EmptyFieldErrorIndicators.java
@@ -55,6 +55,7 @@ public class EmptyFieldErrorIndicators extends TestBase {
part.setMargin(true);
final Form form = createForm(required, failValidator);
+ form.setFooter(null);
part.addComponent(form);
Button validate = new Button("Validate fields");