@Feature(summary = "The administrator can clear and regenerate all of the " +
"search indexes",
tcmsTestPlanIds = 5316, tcmsTestCaseIds = 0)
@Test(timeout = ZanataTestCase.MAX_SHORT_TEST_DURATION)
public void regenerateSearchIndexes() throws Exception {
ManageSearchPage manageSearchPage = dashboardPage
.goToAdministration()
.goToManageSeachPage()
.clickSelectAll();
assertThat(manageSearchPage.allActionsSelected())
.as("All actions are selected");
assertThat(manageSearchPage.noOperationsRunningIsDisplayed())
.as("No operations are running");
manageSearchPage = manageSearchPage
.performSelectedActions()
.waitForActionsToFinish();
assertThat(manageSearchPage.completedIsDisplayed())
.as("Completed is displayed");
assertThat(manageSearchPage.noOperationsRunningIsDisplayed())
.as("No operations are running");
}