blob: 651cd3a7634427dabd13cce526470d5d559f2d7e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
package com.vaadin.tests.components.grid.basicfeatures;
import org.junit.Test;
import com.vaadin.testbench.elements.GridElement;
import com.vaadin.testbench.parallel.TestCategory;
import com.vaadin.tests.tb3.MultiBrowserTest;
@SuppressWarnings("all")
@TestCategory("grid")
public class GridHeightByRowOnInitTest extends MultiBrowserTest {
@Test
public void gridHeightIsMoreThanACoupleOfRows() {
openTestURL();
int height = $(GridElement.class).first().getSize().getHeight();
assertGreater("Grid should be much taller than 150px (was " + height
+ "px)", height, 150);
}
}
|