Package org.zanata.page.administration

Examples of org.zanata.page.administration.TranslationMemoryPage.waitForExpectedNumberOfEntries()


        assertThat(tmMemoryPage.getNumberOfEntries(clearTMId)).isEqualTo("1")
                .as("The TM has one item");

        tmMemoryPage = tmMemoryPage.clickClearTMAndAccept(clearTMId);

        assertThat(tmMemoryPage.waitForExpectedNumberOfEntries(clearTMId, "0"))
                .isEqualTo("0")
                .as("The translation memory entries is empty");
    }

    @Feature(summary = "The administrator can cancel clearing the content " +
View Full Code Here


                .as("The TM has one item");
        assertThat(tmMemoryPage.canDelete(forceClear)).isFalse()
                .as("The item cannot yet be deleted");

        tmMemoryPage = tmMemoryPage.clickClearTMAndAccept(forceClear);
        tmMemoryPage.waitForExpectedNumberOfEntries(forceClear, "0");

        assertThat(tmMemoryPage.canDelete(forceClear)).isTrue()
                .as("The item can be deleted");

        tmMemoryPage = tmMemoryPage.clickDeleteTmAndAccept(forceClear);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.