소스 검색

Make test pass on all browsers

Change-Id: I8226ce8983eb72e0afb4948fc644cb587bc01708
tags/7.7.2
Artur Signell 7 년 전
부모
커밋
815d72115d
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5
    1
      uitest/src/test/java/com/vaadin/tests/components/grid/GridApplyFilterWhenScrolledDownTest.java

+ 5
- 1
uitest/src/test/java/com/vaadin/tests/components/grid/GridApplyFilterWhenScrolledDownTest.java 파일 보기

@@ -34,7 +34,11 @@ public class GridApplyFilterWhenScrolledDownTest extends MultiBrowserTest {
.get(0);
Assert.assertEquals("Test", cell.getText());

int gridHeight = grid.getSize().getHeight();
int scrollerHeight = grid.getVerticalScroller().getSize().getHeight();
Assert.assertTrue(
grid.getVerticalScroller().getSize().getHeight() < 100);
"Scroller height is " + scrollerHeight
+ ", should be smaller than grid height: " + gridHeight,
scrollerHeight < gridHeight);
}
}

Loading…
취소
저장