]> source.dussan.org Git - vaadin-framework.git/commitdiff
Improved error login in GridColumnResizeModeTest. (#12350)
authorAnna Koskinen <Ansku@users.noreply.github.com>
Tue, 27 Jul 2021 11:31:23 +0000 (14:31 +0300)
committerGitHub <noreply@github.com>
Tue, 27 Jul 2021 11:31:23 +0000 (14:31 +0300)
uitest/src/test/java/com/vaadin/tests/components/grid/basicfeatures/GridColumnResizeModeTest.java

index 812052a13ce4aa8ac83b76ae2565c8e583606871..bc98394302bd22e1350d3259774308f788d49791 100644 (file)
@@ -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);