Package org.zanata.workflow

Examples of org.zanata.workflow.ProjectWorkFlow


                .signIn("translator", "translator")
                .loggedInAs())
                .isEqualTo("translator")
                .as("Translator has signed in");

        assertThat(new ProjectWorkFlow()
                .addMaintainer("removemaintainer", "glossarist")
                .getSettingsMaintainersList())
                .contains("glossarist")
                .as("Glossarist maintainer is added");

        ProjectPermissionsTab projectPermissionsTab = new ProjectWorkFlow()
                .removeMaintainer("removemaintainer", "glossarist");

        assertThat(projectPermissionsTab.getSettingsMaintainersList())
                .doesNotContain("glossarist")
                .as("Glossarist maintainer is removed");
View Full Code Here


                .signIn("translator", "translator")
                .loggedInAs())
                .isEqualTo("translator")
                .as("Translator has signed in");

        ProjectPermissionsTab projectPermissionsTab = new ProjectWorkFlow()
                .addMaintainer("removemaintainer", "admin");

        assertThat(projectPermissionsTab.getSettingsMaintainersList())
                .contains("admin")
                .as("admin maintainer is added");
View Full Code Here

                .signIn("translator", "translator")
                .loggedInAs())
                .isEqualTo("translator")
                .as("Login as translator");

        assertThat(new ProjectWorkFlow()
                .createNewSimpleProject("version-nums", projectName)
                .getProjectName())
                .isEqualTo(projectName)
                .as("The project is created");

        ProjectVersionsPage projectVersionsPage = new ProjectWorkFlow()
                .createNewProjectVersion(projectName, "alpha")
                .clickProjectLink(projectName);
        projectVersionsPage.waitForDisplayedVersions(1);

        assertThat(projectVersionsPage.getNumberOfDisplayedVersions())
                .isEqualTo(1)
                .as("The version count is 1");

        projectVersionsPage = new ProjectWorkFlow()
                .createNewProjectVersion("version nums", "bravo")
                .clickProjectLink(projectName);
        projectVersionsPage.waitForDisplayedVersions(2);

        assertThat(projectVersionsPage.getNumberOfDisplayedVersions())
View Full Code Here

                .signIn("admin", "admin")
                .loggedInAs())
                .isEqualTo("admin")
                .as("Admin is logged in");

        ProjectAboutTab projectAboutTab = new ProjectWorkFlow()
                .goToProjectByName("aboutpagetest")
                .gotoSettingsTab()
                .gotoSettingsAboutTab();

        assertThat(projectAboutTab.getAboutText())
View Full Code Here

TOP

Related Classes of org.zanata.workflow.ProjectWorkFlow

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.