// 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));
}