Package org.zanata.page.administration

Examples of org.zanata.page.administration.TranslationMemoryEditPage


        assertThat(tmMemoryPage.getListedTranslationMemorys())
                .contains(nonUniqueTMId)
                .as("The new Translation Memory is listed");

        TranslationMemoryEditPage translationMemoryEditPage = tmMemoryPage
                .clickCreateNew()
                .enterMemoryID(nonUniqueTMId)
                .enterMemoryDescription("Meh")
                .clickSaveAndExpectFailure();

        assertThat(translationMemoryEditPage.expectError(
                    TranslationMemoryPage.ID_UNAVAILABLE))
                .contains(TranslationMemoryPage.ID_UNAVAILABLE)
                .as("The Id Is Not Available error is displayed");

        translationMemoryEditPage = translationMemoryEditPage
                .clickSaveAndExpectFailure();

        translationMemoryEditPage.assertNoCriticalErrors(); // RHBZ-1010771

        assertThat(translationMemoryEditPage.expectError(
                    TranslationMemoryPage.ID_UNAVAILABLE))
                .contains(TranslationMemoryPage.ID_UNAVAILABLE)
                .as("The Id Is Not Available error is displayed");
    }
View Full Code Here

TOP

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

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.