Examples of DecoratedRepeatPage


Examples of com.google.sitebricks.acceptance.page.DecoratedRepeatPage

@Test(suiteName = AcceptanceTest.SUITE)
public class DecoratedRepeatTest {
    public void shouldRenderPageFieldInsideRepeat() {
        WebDriver driver = AcceptanceTest.createWebDriver();
        driver.get(AcceptanceTest.baseUrl() + "/decorated-repeat");
        DecoratedRepeatPage page = DecoratedRepeatPage.open(driver);
        List<String> items = page.getItems();
        assert items.size() == 3;
        assert "Hello, one".equals(items.get(0));
        assert "Hello, two".equals(items.get(1));
        assert "Hello, three".equals(items.get(2));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.