blob: 66347b57a180eaea674cbebfe7b166ceac5187c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
package com.vaadin.tests.layouts.gridlayout;
import java.io.IOException;
import org.junit.Test;
import com.vaadin.testbench.elements.ButtonElement;
import com.vaadin.tests.tb3.MultiBrowserTest;
public class GridLayoutWidthChangeTest extends MultiBrowserTest {
@Test
public void layoutIsReduced() throws IOException {
openTestURL();
compareScreen("initial");
$(ButtonElement.class).caption("Reduce GridLayout parent width").first()
.click();
compareScreen("buttonMoved");
}
}
|