Package org.xwiki.index.test.po

Examples of org.xwiki.index.test.po.SpaceIndexPage


                // attribute that makes the element hidden.
                executeJavascript("arguments[0].setAttribute('class', '')", liElement);

                // Click
                elements.get(0).click();
                return new SpaceIndexPage();
            }
        }

        throw new RuntimeException("Was unable to click on space index for [" + spaceName + "]");
    }
View Full Code Here


        // Navigate to the Home Page and click on the SpaceIndex.
        HomePage homePage = HomePage.gotoPage();
        homePage.getSpacesPane().clickSpaceIndex(spaceName);

        // Assert the content of the space index live table.
        LiveTableElement spaceIndexLiveTable = new SpaceIndexPage().getLiveTable();
        spaceIndexLiveTable.waitUntilReady();
        Assert.assertEquals(1, spaceIndexLiveTable.getRowCount());
        Assert.assertTrue(spaceIndexLiveTable.hasRow("Page", "WebHome"));
        Assert.assertTrue(spaceIndexLiveTable.hasRow("Space", spaceName));
    }
View Full Code Here

TOP

Related Classes of org.xwiki.index.test.po.SpaceIndexPage

Copyright © 2018 www.massapicom. 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.