Package org.zanata.page.account

Examples of org.zanata.page.account.ResetPasswordPage.expectError()


                .goToResetPassword()
                .enterUserName("b")
                .enterEmail("b")
                .resetFailure();

        assertThat(resetPasswordPage.expectError("not a well-formed email address"))
                .contains("not a well-formed email address")
                .as("Invalid email error is displayed");

        String error = resetPasswordPage.getErrors().get(0);
        // Both are valid, but show seemingly at random
View Full Code Here


                .clickSignInLink()
                .goToResetPassword()
                .clearFields()
                .resetFailure();

        assertThat(resetPasswordPage.expectError("may not be empty"))
                .contains("may not be empty")
                .as("Empty email error is displayed");

        // All are valid, but may show at random
        String error = resetPasswordPage.getErrors().get(0);
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.