Examples of ProjectAboutTab


Examples of org.zanata.page.projects.projectsettings.ProjectAboutTab

    public ProjectAboutTab gotoSettingsAboutTab() {
        log.info("Click About settings sub-tab");
        clickWhenTabEnabled(waitForWebElement(settingsAboutTab));
        waitForWebElement(By.id("settings-about"));
        return new ProjectAboutTab(getDriver());
    }
View Full Code Here

Examples of org.zanata.page.projects.projectsettings.ProjectAboutTab

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

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

        assertThat(projectAboutTab.getAboutText())
                .as("The text is empty")
                .isNullOrEmpty();

        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
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.