Examples of VersionDocumentsTab


Examples of org.zanata.page.projectversion.versionsettings.VersionDocumentsTab

    public VersionDocumentsTab gotoSettingsDocumentsTab() {
        log.info("Click Documents settings sub-tab");
        clickWhenTabEnabled(waitForWebElement(settingsDocumentsTab));
        waitForWebElement(By.id("settings-document_form"));
        return new VersionDocumentsTab(getDriver());
    }
View Full Code Here

Examples of org.zanata.page.projectversion.versionsettings.VersionDocumentsTab

                "testhtmlfile", ".html",
                "<html><title>Test content</title>" +
                "<br>This is <b>Bold</b> text</html>"
        );
        String testFileName = htmlfile.getName();
        VersionDocumentsTab versionDocumentsTab = new ProjectWorkFlow()
                .goToProjectByName("html-project")
                .gotoVersion("html-upload")
                .gotoSettingsTab()
                .gotoSettingsDocumentsTab()
                .pressUploadFileButton()
                .enterFilePath(htmlfile.getAbsolutePath())
                .submitUpload()
                .clickUploadDone();

        VersionDocumentsPage versionDocumentsPage =
                versionDocumentsTab.gotoDocumentTab();

        assertThat(versionDocumentsPage
                .sourceDocumentsContains(htmlfile.getName()))
                .as("Document shows in table");
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.