def test_prof_update_change_pword(self):
     module_logger.info('Started FE Update Profile / Change Password Test')
     up = UpdateProfile(self.driver)
     #changes password / logs out
     self.info_entry(up)
     self.password_entry(up)
     up.update_profile_submit()
     module_logger.info('profile updated')
     self.log_out()
     # logs in w/new password
     lpo = LoginPageObject(self.driver, self.base_url)
     lpo.username = test_info["login_username"]
     lpo.password = test_info["new_pword_strong"]
     lpo.submit()
     User_Menu_Bar(self.driver).profile()
     module_logger.info('logged in w/new password')
     # changes password back to original / verifies user can log back in using original password
     self.info_entry(up)
     up.current_pword = test_info["new_pword_strong"]
     up.new_pword = test_info["login_pword"]
     up.con_pword = test_info["login_pword"]
     up.update_profile_submit()
     self.log_out()
     self.log_in()
     module_logger.info(
         'password set back to original. Change Password Test Complete ')
 def test_prof_update_change_pword(self):
     module_logger.info('Started FE Update Profile / Change Password Test')
     up = UpdateProfile(self.driver)
     #changes password / logs out
     self.info_entry(up)
     self.password_entry(up)
     up.update_profile_submit()
     module_logger.info('profile updated')
     self.log_out()
     # logs in w/new password
     lpo = LoginPageObject(self.driver, self.base_url)
     lpo.username = test_info["login_username"]
     lpo.password = test_info["new_pword_strong"]
     lpo.submit()
     User_Menu_Bar(self.driver).profile()
     module_logger.info('logged in w/new password')
     # changes password back to original / verifies user can log back in using original password
     self.info_entry(up)
     up.current_pword = test_info["new_pword_strong"]
     up.new_pword = test_info["login_pword"]
     up.con_pword = test_info["login_pword"]
     up.update_profile_submit()
     self.log_out()
     self.log_in()
     module_logger.info('password set back to original. Change Password Test Complete ')
 def test_strong_pword (self):
     # fills out form but omits name entry
     module_logger.info('Started FE Update Profile / Strong Password Test')
     up = UpdateProfile(self.driver)
     self.new_data_entry(up)
     up.current_pword = test_info["login_pword"]
     up.new_pword = test_info["new_pword_strong"]
     up.update_profile_submit()
     module_logger.info('new data entered')
     self.assertEquals("strong", self.driver.find_element_by_xpath(locators["strength"]).get_attribute("value"))
     module_logger.info('correct strength message. Strong Password Test Complete')
 def test_strong_pword(self):
     # fills out form but omits name entry
     module_logger.info('Started FE Update Profile / Strong Password Test')
     up = UpdateProfile(self.driver)
     self.new_data_entry(up)
     up.current_pword = test_info["login_pword"]
     up.new_pword = test_info["new_pword_strong"]
     up.update_profile_submit()
     module_logger.info('new data entered')
     self.assertEquals(
         "strong",
         self.driver.find_element_by_xpath(
             locators["strength"]).get_attribute("value"))
     module_logger.info(
         'correct strength message. Strong Password Test Complete')