diff options
author | Henrik Paul <henrik@vaadin.com> | 2015-03-25 18:04:45 +0200 |
---|---|---|
committer | Henrik Paul <henrik@vaadin.com> | 2015-03-27 07:51:12 +0000 |
commit | e191abb0da9e4660e925991490e967c178380aef (patch) | |
tree | 3d8542557f6fd7d83a77d92367b3fab2f244ef84 /uitest/src/com/vaadin/tests/components/grid | |
parent | eb3406247e397c23d447bf4fd84a5052a0488876 (diff) | |
download | vaadin-framework-e191abb0da9e4660e925991490e967c178380aef.tar.gz vaadin-framework-e191abb0da9e4660e925991490e967c178380aef.zip |
Fixed some faulty asserts in Grid's detail row creation (#17293)
Change-Id: I8e9998524c02ca1e2f9d3391fa27bacc53655c7f
Diffstat (limited to 'uitest/src/com/vaadin/tests/components/grid')
-rw-r--r-- | uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridDetailsServerTest.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridDetailsServerTest.java b/uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridDetailsServerTest.java index cfaf79ea05..4ea64073f3 100644 --- a/uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridDetailsServerTest.java +++ b/uitest/src/com/vaadin/tests/components/grid/basicfeatures/server/GridDetailsServerTest.java @@ -288,4 +288,19 @@ public class GridDetailsServerTest extends GridBasicFeaturesTest { assertFalse("Details should be not empty with details component", getGridElement().getDetails(0).getText().isEmpty()); } + + @Test + public void noAssertErrorsOnEmptyDetailsAndScrollDown() { + selectMenuPath(OPEN_FIRST_ITEM_DETAILS); + scrollGridVerticallyTo(500); + assertFalse(logContainsText("AssertionError")); + } + + @Test + public void noAssertErrorsOnPopulatedDetailsAndScrollDown() { + selectMenuPath(DETAILS_GENERATOR_WATCHING); + selectMenuPath(OPEN_FIRST_ITEM_DETAILS); + scrollGridVerticallyTo(500); + assertFalse(logContainsText("AssertionError")); + } } |