Пример #1
0
        public void PasswordChangeWithoutCurrentPassword()
        {
            ManagePage.ManageAccountButton.Click();

            ManagePage.PasswordChangeButton.Click();
            var user = AccessExcelData.GetTestData <ManagePageUserModel>("RegisterPageData.xlsx", "DataSet2", "PasswordChangeWithoutCurrentPassword");

            ManagePage.FillChangePasswordForm(user);
            ManagePage.AssertFirstPasswordErrorMessage("The Current password field is required.");
            ManagePage.LogoutBtnAsUser.Click();
        }