Package org.xwiki.test.ui.framework.elements

Examples of org.xwiki.test.ui.framework.elements.ViewPage.waitUntilElementIsVisible()


            By.id("annotationsdisplay")).size());
        annotationsWindow.simulateCTRL_M();

        ViewPage vp = new ViewPage();
        // TODO: this should be a PageObject API
        vp.waitUntilElementIsVisible(By.className("xnotification-warning"));
        // TODO: this should be a PageObject API
        WebElement warning = getDriver().findElement(By.className("xnotification-warning"));
        Assert.assertEquals(XWIKI_SYNTAX_1_WARNING, warning.getText());

        adminPage.gotoPage();
View Full Code Here


        getUtil().gotoPage(SPACE_NAME, DOC_NAME);
        // Landing directly on this page might result in notification not to be displayed
        getDriver().navigate().refresh();
        // TODO: this should be a PageObject API
        vp.waitUntilElementIsVisible(By.id("body"));

        vp = new ViewPage();
        // TODO: this should be a PageObject API
        vp.waitUntilElementIsVisible(By.className("xnotification-warning"));
        // TODO: this should be a PageObject API
View Full Code Here

        // TODO: this should be a PageObject API
        vp.waitUntilElementIsVisible(By.id("body"));

        vp = new ViewPage();
        // TODO: this should be a PageObject API
        vp.waitUntilElementIsVisible(By.className("xnotification-warning"));
        // TODO: this should be a PageObject API
        warning = getDriver().findElement(By.className("xnotification-warning"));
        Assert.assertEquals(XWIKI_SYNTAX_1_WARNING, warning.getText());
    }
}
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.