Examples of expectNotification()


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

        TranslationMemoryPage translationMemoryPage =
                new TranslationMemoryWorkFlow()
                        .createTranslationMemory(newTMId, tmDescription);

        assertThat(translationMemoryPage
                .expectNotification("Successfully created"))
                .isTrue()
                .as("The success message is displayed");

        assertThat(translationMemoryPage.getListedTranslationMemorys())
View Full Code Here

Examples of org.zanata.page.dashboard.DashboardBasePage.expectNotification()

                .goToSettingsTab()
                .gotoSettingsAccountTab()
                .typeOldPassword("translator")
                .typeNewPassword("newpassword")
                .clickUpdatePasswordButton();
        dashboard.expectNotification(DashboardAccountTab.PASSWORD_UPDATE_SUCCESS);
        dashboard.logout();

        assertThat(new BasicWorkFlow().goToHome().hasLoggedIn()).isFalse()
                .as("User is logged out");
View Full Code Here

Examples of org.zanata.page.projects.ProjectBasePage.expectNotification()

        projectPermissionsTab.slightPause();
        ProjectBasePage projectBasePage = projectPermissionsTab
                .clickRemoveOnSelf("translator");
        projectBasePage.slightPause();
        projectBasePage.expectNotification("Maintainer \"translator\" has " +
                "been removed from project.");
        ProjectVersionsPage projectVersionsPage = projectBasePage
                .goToHomePage()
                .goToProjects()
                .goToProject("removemaintainer");
View Full Code Here

Examples of org.zanata.page.projects.projectsettings.ProjectAboutTab.expectNotification()

        projectAboutTab = projectAboutTab
                .clearAboutText()
                .enterAboutText(aboutText)
                .pressSave();

        projectAboutTab.expectNotification("Successfully updated");
        ProjectAboutPage projectAboutPage = projectAboutTab.gotoAboutTab();

        assertThat(projectAboutPage.getAboutText())
                .isEqualTo(aboutText)
                .as("The text in the About tab is correct");
View Full Code Here

Examples of org.zanata.page.projects.projectsettings.ProjectTranslationTab.expectNotification()

                .gotoSettingsTab()
                .gotoSettingsTranslationTab()
                .setValidationLevel(
                        "Positional printf (XSI extension)", "Error");

        projectTranslationTab.expectNotification("Updated validation " +
                "Positional printf (XSI extension) to Error.");

        assertThat(projectTranslationTab
                .isValidationLevel("Positional printf (XSI extension)", "Error"))
                .isTrue()
View Full Code Here

Examples of org.zanata.page.projects.projectsettings.ProjectTranslationTab.expectNotification()

                .as("The Printf level is Off");

        projectTranslationTab = projectTranslationTab
                .setValidationLevel("Printf variables", "Error");

        projectTranslationTab.expectNotification("Updated validation " +
                "Printf variables to Error.");

        assertThat(projectTranslationTab
                .isValidationLevel("Printf variables", "Error"))
                .isTrue()
View Full Code Here

Examples of org.zanata.page.projectversion.versionsettings.VersionLanguagesTab.expectNotification()

        versionLanguagesTab = versionLanguagesTab
                .gotoSettingsTab()
                .gotoSettingsLanguagesTab()
                .enterSearchLanguage("en-US")
                .addLocale("English (United States)[en-US]");
        versionLanguagesTab.expectNotification("Language \"English " +
                "(United States)\" has been added to version.");
        versionLanguagesTab = versionLanguagesTab
                .waitForLanguagesContains("English (United States)[en-US]");

        versionLanguagesTab = versionLanguagesTab
View Full Code Here

Examples of org.zanata.page.projectversion.versionsettings.VersionLanguagesTab.expectNotification()

                .waitForLanguagesContains("English (United States)[en-US]");

        versionLanguagesTab = versionLanguagesTab
                .enterSearchLanguage("fr")
                .addLocale("French[fr]");
        versionLanguagesTab.expectNotification("Language \"French\" has " +
                "been added to version.");
        versionLanguagesTab = versionLanguagesTab
                .waitForLanguagesContains("French[fr]");

        enabledLocaleList = versionLanguagesTab.getEnabledLocaleList();
View Full Code Here

Examples of org.zanata.page.projectversion.versionsettings.VersionTranslationTab.expectNotification()

                .gotoVersion("master")
                .gotoSettingsTab()
                .gotoSettingsTranslationTab()
                .setValidationLevel(
                        "Positional printf (XSI extension)", "Error");
        versionTranslationTab.expectNotification(
                "Updated validation Positional printf (XSI extension) to Error.");

        assertThat(versionTranslationTab
                .isValidationLevel("Positional printf (XSI extension)", "Error"))
                .isTrue()
View Full Code Here

Examples of org.zanata.page.projectversion.versionsettings.VersionTranslationTab.expectNotification()

                .isValidationLevel("Printf variables", "Off"))
                .isTrue()
                .as("The Printf level is Off");

        versionTranslationTab.setValidationLevel("Printf variables", "Error");
        versionTranslationTab.expectNotification(
                "Updated validation Printf variables to Error.");

        assertThat(versionTranslationTab
                .isValidationLevel("Printf variables", "Error"))
                .isTrue()
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.