Package org.zanata.page.administration

Examples of org.zanata.page.administration.ManageSearchPage


    @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");
    }
View Full Code Here


            "search indexes",
            tcmsTestPlanIds = 5316, tcmsTestCaseIds = 0)
    @Test(timeout = ZanataTestCase.MAX_SHORT_TEST_DURATION)
    @Ignore("Data set not large enough to achieve stable test")
    public void abortReindexes() 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()
                .abort();

        assertThat(manageSearchPage.abortedIsDisplayed())
                .as("Aborted is displayed");
    }
View Full Code Here

TOP

Related Classes of org.zanata.page.administration.ManageSearchPage

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.