String appHomePageTitle = appName + " Home";
entryEditPage.clickSaveAndView().clickBreadcrumbLink(appHomePageTitle);
homePage = new ApplicationHomePage();
// Assert the entry we have just created is listed in the live table.
LiveTableElement entriesLiveTable = homePage.getEntriesLiveTable();
entriesLiveTable.waitUntilReady();
Assert.assertTrue(entriesLiveTable.hasRow("City Name", "London"));
// Assert that the application space index lists only the home page and the entry we have just created. The rest
// of the documents (class, template, sheet, preferences) should be marked as hidden.
LiveTableElement appSpaceIndexLiveTable = SpaceIndexPage.gotoPage(appName).getLiveTable();
appSpaceIndexLiveTable.waitUntilReady();
Assert.assertEquals(2, appSpaceIndexLiveTable.getRowCount());
Assert.assertTrue(appSpaceIndexLiveTable.hasRow("Page", "WebHome"));
Assert.assertTrue(appSpaceIndexLiveTable.hasRow("Page", firstEntryName));
// Go back to the application home page.
getDriver().navigate().back();
// Click the edit button.