]> source.dussan.org Git - vaadin-framework.git/commitdiff
Hide footer to be screenshot compatible (#10478, #10080) 70/470/2
authorArtur Signell <artur@vaadin.com>
Fri, 7 Dec 2012 13:54:30 +0000 (15:54 +0200)
committerVaadin Code Review <review@vaadin.com>
Fri, 7 Dec 2012 14:58:57 +0000 (14:58 +0000)
Change-Id: I5c18ec975c99bda4b44492252eefe34c307b34da

uitest/src/com/vaadin/tests/components/customfield/AbstractNestedFormExample.java
uitest/src/com/vaadin/tests/components/customfield/BooleanFieldExample.java
uitest/src/com/vaadin/tests/components/datefield/DateFieldInSubWindow.java
uitest/src/com/vaadin/tests/components/form/FormClearDatasourceRepaint.java
uitest/src/com/vaadin/tests/components/form/FormCommitWithInvalidValues.java
uitest/src/com/vaadin/tests/components/window/UndefinedHeightSubWindowAndContent.java
uitest/src/com/vaadin/tests/validation/EmptyFieldErrorIndicators.java

index 07c740a96dddc0ecd22266cd1bf7c57f2fd81951..eb73e456168cfeef3c9b428bab0726bf4fffe12f 100644 (file)
@@ -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);
                 }
index a52b168e8421f3e782e25268cd5c855f8e39f09f..66346287ba4bc4253663490f67c602463e0cfeb0 100644 (file)
@@ -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,
index d6fbb465e8d42283c1a0441fb5ad830cf4054714..fab97f46cbc583c9a2594eecd76c66dfdfd49d76 100644 (file)
@@ -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);
index ad6b13f6d2b844a66e5c50d852c82898c60babc0..df403ceb78eba59c7fc5e5d4d6be010ba21490c2 100644 (file)
@@ -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);
 
index 907b8a27f3a87d5617698d352ccdb9e052c0bcb9..b6b0624ba0a9a579b07558a9b25e42efb1cf2027 100644 (file)
@@ -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);
index 715d089f57a3382ba744fc437f7a40f2f4278b14..1a34e90446470aeab1cf4a31298e2a3ad3ca4aab 100644 (file)
@@ -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");
index a62eb62e71275da158ffa3579eaa2d0aa3f57f87..11f98eb888e1bd4e6f213b688ce83593804f0b57 100644 (file)
@@ -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");