Package org.zanata.page.projects

Examples of org.zanata.page.projects.ProjectBasePage


        assertThat(basePage.getProjectSearchAutocompleteItems())
                .contains("about fedora")
                .as("Normal user can see the project");

        ProjectBasePage projectPage =
                basePage.clickSearchEntry("about fedora");

        assertThat(projectPage.getProjectName().trim())
                .isEqualTo("about fedora")
                .as("The project page is the correct one");
    }
View Full Code Here


    }

    public ProjectBasePage clickRemoveOnSelf(String maintainer) {
        log.info("Click Remove on (self) {}", maintainer);
        getMaintainerElementFromList(maintainer).click();
        return new ProjectBasePage(getDriver());
    }
View Full Code Here

        assertThat(new LoginWorkFlow().signIn("admin", "admin").loggedInAs())
                .isEqualTo("admin")
                .as("Admin can log in");

        ProjectBasePage projectPage =
                new ProjectWorkFlow().createNewProject(projectSettings);

        assertThat(projectPage.getProjectName().trim())
                .isEqualTo(projectSettings.get("Name"))
                .as("The project name is correct");

        assertThat(projectPage.getContentAreaParagraphs())
                .contains(projectSettings.get("Description"))
                .as("The project content area shows the description");
    }
View Full Code Here

        LanguageWorkFlow languageWorkFlow = new LanguageWorkFlow();
        languageWorkFlow.addLanguageAndJoin("en-US");
        languageWorkFlow.addLanguageAndJoin("zh-CN");

        ProjectWorkFlow projectWorkFlow = new ProjectWorkFlow();
        ProjectBasePage projectPage =
                projectWorkFlow.createNewSimpleProject("trans-memory",
                        "trans memory test");
        projectWorkFlow.createNewProjectVersion("trans memory test", "master");

        // int exitCode = new ClientWorkFlow().mvnPush("trans-memory",
View Full Code Here

        LanguageWorkFlow languageWorkFlow = new LanguageWorkFlow();
        languageWorkFlow.addLanguageAndJoin("en-US");
        languageWorkFlow.addLanguageAndJoin("zh-CN");

        ProjectWorkFlow projectWorkFlow = new ProjectWorkFlow();
        ProjectBasePage projectPage =
                projectWorkFlow.createNewSimpleProject("trans-memory-v2",
                        "trans memory test v2");
        projectWorkFlow.createNewProjectVersion("trans memory test v2",
                "master");
View Full Code Here

        assertThat(projectPermissionsTab.getSettingsMaintainersList())
                .contains("admin")
                .as("admin maintainer is added");

        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");

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

TOP

Related Classes of org.zanata.page.projects.ProjectBasePage

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.