]> source.dussan.org Git - vaadin-framework.git/commitdiff
Use fixed width in integration test for stability (#9560)
authorHenri Sara <henri.sara@gmail.com>
Tue, 20 Jun 2017 12:13:15 +0000 (15:13 +0300)
committerGitHub <noreply@github.com>
Tue, 20 Jun 2017 12:13:15 +0000 (15:13 +0300)
Fix table width to match the reference screenshot.

test/servlet-containers/generic/src/main/java/com/vaadin/tests/integration/ServletIntegrationUI.java

index 03a24fbc4c4b9458559391ada9caab34eb1b6d10..af20c415ad726b8c77981264b2060b2e588b7139 100644 (file)
@@ -32,6 +32,7 @@ public class ServletIntegrationUI extends UI {
         table.setSelectable(true);
         table.setVisibleColumns(new Object[] { "country" });
         layout.addComponent(table);
+        table.setWidth("112px");
 
         Item item = table.addItem("FI");
         item.getItemProperty("icon").setValue(new ClassResource("fi.gif"));