Package org.xwiki.test.ui.administration.elements

Examples of org.xwiki.test.ui.administration.elements.GlobalRightsAdministrationSectionPage.gotoPage()


    }

    private void setRightsOnGuest(Right right, State state)
    {
        GlobalRightsAdministrationSectionPage globalRights = new GlobalRightsAdministrationSectionPage();
        globalRights.gotoPage();
        globalRights.getEditRightsPane().switchToUsers();
        globalRights.getEditRightsPane().setGuestRight(right, state);
    }

    @Test
View Full Code Here


            // We use startsWith since the URL contains a jsessionid and a srid.
            Assert.assertTrue(getDriver().getCurrentUrl().startsWith(getUtil().getURL("SomeSpace", "SomePage")));
        } finally {
            GlobalRightsAdministrationSectionPage grasp = new GlobalRightsAdministrationSectionPage();
            grasp.gotoPage();
            if (!grasp.isAuthenticated()) {
                getDriver().get(getUtil().getURLToLoginAsAdminAndGotoPage(grasp.getURL()));
            }
            grasp.unforceAuthenticatedView();
        }
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.