Examples of BasicWorkFlow


Examples of org.zanata.workflow.BasicWorkFlow

                .gotoSettingsTab()
                .gotoSettingsGeneral()
                .archiveProject()
                .logout();

        BasePage basePage = new BasicWorkFlow()
                .goToHome()
                .enterSearch("about")
                .waitForSearchListContains("Search Zanata for 'about'");

        assertThat(basePage.getProjectSearchAutocompleteItems())
View Full Code Here

Examples of org.zanata.workflow.BasicWorkFlow

        googlePassword1 = getSignIn(googleUsername1);
        assertThat("Environment has Google login data",
                !googlePassword1.isEmpty());
        assertThat("Google can be reached", googleIsReachable());

        new BasicWorkFlow().goToHome().deleteCookiesAndRefresh();

        GoogleManagePermissionsPage googleManagePermissionsPage =
                new GoogleWorkFlow().resetGooglePermissions(googleUsername1,
                        googlePassword1);
View Full Code Here

Examples of org.zanata.workflow.BasicWorkFlow

            }
        };
    }

    private static HomePage logoutIfLoggedIn() {
        HomePage homePage = new BasicWorkFlow().goToHome();
        if (homePage.hasLoggedIn()) {
            homePage.logout();
        }
        return homePage;
    }
View Full Code Here

Examples of org.zanata.workflow.BasicWorkFlow

    @Feature(summary = "The user may reset their password via email",
            tcmsTestPlanIds = 5316, tcmsTestCaseIds = 0)
    @Test(timeout = ZanataTestCase.MAX_SHORT_TEST_DURATION)
    public void resetPasswordSuccessful() {
        ResetPasswordPage resetPasswordPage = new BasicWorkFlow()
                .goToHome()
                .clickSignInLink()
                .goToResetPassword()
                .enterUserName("admin")
                .enterEmail("admin@example.com")
View Full Code Here

Examples of org.zanata.workflow.BasicWorkFlow

    @Feature(summary = "The user must enter a known account and email pair " +
            "to reset their password",
            tcmsTestPlanIds = 5316, tcmsTestCaseIds = 0)
    @Test(timeout = ZanataTestCase.MAX_SHORT_TEST_DURATION)
    public void resetPasswordFailureForInvalidAccount() {
        ResetPasswordPage resetPasswordPage = new BasicWorkFlow()
                .goToHome()
                .clickSignInLink()
                .goToResetPassword()
                .enterUserName("nosuchuser")
                .enterEmail("nosuchuser@nosuchdomain.com")
View Full Code Here

Examples of org.zanata.workflow.BasicWorkFlow

    @Feature(summary = "The user must enter a valid account and email pair " +
            "to reset their password",
            tcmsTestPlanIds = 5316, tcmsTestCaseIds = 0)
    @Test(timeout = ZanataTestCase.MAX_SHORT_TEST_DURATION)
    public void invalidResetPasswordFieldEntries() {
        ResetPasswordPage resetPasswordPage = new BasicWorkFlow()
                .goToHome()
                .clickSignInLink()
                .goToResetPassword()
                .enterUserName("b")
                .enterEmail("b")
View Full Code Here

Examples of org.zanata.workflow.BasicWorkFlow

    @Feature(summary = "The user must enter both an account name and email " +
            "address to reset their password",
            tcmsTestPlanIds = 5316, tcmsTestCaseIds = 0)
    @Test(timeout = ZanataTestCase.MAX_SHORT_TEST_DURATION)
    public void emptyResetPasswordFieldEntries() {
        ResetPasswordPage resetPasswordPage = new BasicWorkFlow()
                .goToHome()
                .clickSignInLink()
                .goToResetPassword()
                .clearFields()
                .resetFailure();
View Full Code Here

Examples of org.zanata.workflow.BasicWorkFlow

        // open editor
        new LoginWorkFlow().signIn("admin", "admin");
        // webTrans
        final EditorPage editorPage =
                new BasicWorkFlow().goToEditor("base", "master", "pl",
                        "test.pot");

        String translation = editorPage.getMessageTargetAtRowIndex(0);
        // for some reason getText() will return one space in it
        assertThat(translation.trim()).isEmpty();
View Full Code Here

Examples of org.zanata.workflow.BasicWorkFlow

        // open editor
        new LoginWorkFlow().signIn("admin", "admin");
        // webTrans
        final EditorPage editorPage =
                new BasicWorkFlow().goToEditor("base", "beta", "pl",
                        "test.pot");

        String translation = editorPage.getMessageTargetAtRowIndex(0);
        // for some reason getText() will return one space in it
        assertThat(translation.trim()).isEmpty();
View Full Code Here

Examples of org.zanata.workflow.BasicWorkFlow

    private TestFileGenerator testFileGenerator = new TestFileGenerator();
    private String documentStorageDirectory;

    @Before
    public void before() {
        new BasicWorkFlow().goToHome().deleteCookiesAndRefresh();
        zanataRestCaller = new ZanataRestCaller();
        zanataRestCaller.createProjectAndVersion("uploadtest",
                "txt-upload", "file");
        documentStorageDirectory = CleanDocumentStorageRule
                .getDocumentStoragePath()
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.