From: Anna Koskinen Date: Tue, 27 Jul 2021 11:31:23 +0000 (+0300) Subject: Improved error login in GridColumnResizeModeTest. (#12350) X-Git-Tag: 8.14.0.alpha1~9 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6497dff12b31f4be8be66e160e77c534e87d7acd;p=vaadin-framework.git Improved error login in GridColumnResizeModeTest. (#12350) --- diff --git a/uitest/src/test/java/com/vaadin/tests/components/grid/basicfeatures/GridColumnResizeModeTest.java b/uitest/src/test/java/com/vaadin/tests/components/grid/basicfeatures/GridColumnResizeModeTest.java index 812052a13c..bc98394302 100644 --- a/uitest/src/test/java/com/vaadin/tests/components/grid/basicfeatures/GridColumnResizeModeTest.java +++ b/uitest/src/test/java/com/vaadin/tests/components/grid/basicfeatures/GridColumnResizeModeTest.java @@ -103,8 +103,11 @@ public class GridColumnResizeModeTest extends GridBasicsTest { // ANIMATED resize mode drag(handle, 100); - assertTrue("Expected width: " + cell.getSize().getWidth(), - getLogRow(0).contains("Column resized: caption=Column 1, width=" + String logRow = getLogRow(0); + assertTrue( + "Expected width: " + cell.getSize().getWidth() + + ", latest log row: " + logRow, + logRow.contains("Column resized: caption=Column 1, width=" + cell.getSize().getWidth())); drag(handle, -100);