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");
}
}