Exemplo n.º 1
0
        public void TryToChangePassword_NotMatchingPassword_ShouldNotUpdate()
        {
            var homepage       = LogIntoApp();
            var changePassword = new ChangePasswordPage(_driver, _url);

            changePassword.GoToPage();
            changePassword.ChangePassword(LogonUser.Password, "aaa", "bbb");
            var result = changePassword.ErrorValidationResponse();

            result.Should().Contain("The new password and confirmation password do not match.");
        }