Examples of activateAnnotations()


Examples of org.xwiki.administration.test.po.AnnotationsPage.activateAnnotations()

        getUtil().deletePage(getTestClassName(), getTestMethodName());

        AdministrationPage adminPage = AdministrationPage.gotoPage();
        AnnotationsPage annotationsAdminPage = adminPage.clickAnnotationsSection();
        // We make sure the annotations are Activated
        annotationsAdminPage.activateAnnotations();
        // We set annotations to be displayed by default
        annotationsAdminPage.displayAnnotationsByDefault();
        // We set annotations to be highlighted
        annotationsAdminPage.displayAnnotationsHighlightByDefault();
        annotationsAdminPage.clickSave();
View Full Code Here

Examples of org.xwiki.administration.test.po.AnnotationsPage.activateAnnotations()

    public void tearDown()
    {
        // We restore the original factory settings of the Annotation Application
        AdministrationPage adminPage = AdministrationPage.gotoPage();
        AnnotationsPage annotationsAdminPage = adminPage.clickAnnotationsSection();
        annotationsAdminPage.activateAnnotations();
        annotationsAdminPage.hideAnnotationsByDefault();
        annotationsAdminPage.hideAnnotationsHighlightByDefault();
        annotationsAdminPage.clickSave();
    }
}
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.