diff options
author | Teemu Suo-Anttila <teemusa@vaadin.com> | 2015-08-24 13:57:27 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2015-08-24 13:23:58 +0000 |
commit | c954a7836ceb8410d6250256ddc3bc7584e76774 (patch) | |
tree | 6e0e9ec102cf0a191aeb6fe0e8517e8856cf7324 /uitest | |
parent | 6322134bddd505d9cdf44f8554bb6d337dabe88a (diff) | |
download | vaadin-framework-c954a7836ceb8410d6250256ddc3bc7584e76774.tar.gz vaadin-framework-c954a7836ceb8410d6250256ddc3bc7584e76774.zip |
Fix Grid column width calculation regression (#18617)
Change-Id: I359240ff393428dd5d6764d5e01a40022ab94fc6
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridColumnMaxWidthTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridColumnMaxWidthTest.java b/uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridColumnMaxWidthTest.java index dffa22fdc6..7f19559aec 100644 --- a/uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridColumnMaxWidthTest.java +++ b/uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridColumnMaxWidthTest.java @@ -24,14 +24,14 @@ import com.vaadin.tests.components.grid.basicfeatures.GridBasicFeaturesTest; public class GridColumnMaxWidthTest extends GridBasicFeaturesTest { @Test - public void testRemovingAllColumns() { + public void testMaxWidthAffectsColumnWidth() { setDebug(true); openTestURL(); selectMenuPath("Component", "Columns", "All columns expanding, Col 0 has max width of 30px"); - assertEquals("Column 0 did not obey max width of 30px.", "30px", - getGridElement().getCell(0, 0).getCssValue("width")); + assertEquals("Column 0 did not obey max width of 30px.", 30, + getGridElement().getCell(0, 0).getSize().getWidth()); } }
\ No newline at end of file |