From 6497dff12b31f4be8be66e160e77c534e87d7acd Mon Sep 17 00:00:00 2001 From: Anna Koskinen Date: Tue, 27 Jul 2021 14:31:23 +0300 Subject: [PATCH] Improved error login in GridColumnResizeModeTest. (#12350) --- .../grid/basicfeatures/GridColumnResizeModeTest.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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); -- 2.39.5