Examples of gotoDocumentTab()


Examples of org.zanata.page.projectversion.versionsettings.VersionDocumentsTab.gotoDocumentTab()

                        .getFirstFileNameInDirectory(documentStorageDirectory));

        assertThat(testFileGenerator.getTestFileContent(newlyCreatedFile))
                .isEqualTo("This is a test file")
                .as("The contents of the file were also uploaded");
        VersionDocumentsPage versionDocumentsPage = versionDocumentsTab
                .gotoDocumentTab()
                .waitForSourceDocsContains(testFileName);

        assertThat(versionDocumentsPage.sourceDocumentsContains(testFileName))
                .isTrue()
View Full Code Here

Examples of org.zanata.page.projectversion.versionsettings.VersionDocumentsTab.gotoDocumentTab()

                .pressUploadFileButton()
                .enterFilePath(longFile.getAbsolutePath())
                .submitUpload()
                .clickUploadDone();

        VersionDocumentsPage versionDocumentsPage = versionDocumentsTab
                .gotoDocumentTab()
                .waitForSourceDocsContains(longFile.getName());

        assertThat(versionDocumentsPage.sourceDocumentsContains(longFile.getName()))
                .isTrue()
View Full Code Here

Examples of org.zanata.page.projectversion.versionsettings.VersionDocumentsTab.gotoDocumentTab()

        assertThat(emptyFile.exists())
                .isTrue()
                .as("Data file emptyFile.txt still exists");

        VersionDocumentsPage versionDocumentsPage = versionDocumentsTab
                .gotoDocumentTab()
                .waitForSourceDocsContains(emptyFile.getName());

        assertThat(versionDocumentsPage.sourceDocumentsContains(emptyFile.getName()))
                .isTrue()
View Full Code Here

Examples of org.zanata.page.projectversion.versionsettings.VersionDocumentsTab.gotoDocumentTab()

        assertThat(new File(documentStorageDirectory).list().length)
                .isEqualTo(2)
                .as("There are two uploaded source files");

        VersionDocumentsPage versionDocumentsPage = versionDocumentsTab
                .gotoDocumentTab()
                .waitForSourceDocsContains(testFileName);

        assertThat(versionDocumentsPage.getSourceDocumentNames())
                .contains(firstFile.getName())
View Full Code Here

Examples of org.zanata.page.projectversion.versionsettings.VersionDocumentsTab.gotoDocumentTab()

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