def test(self):
     page = SettingsPage(self.driver)
     page.change_password(self.NEW_PASSWORD, self.NEW_PASSWORD_CONFIRM,
                          self.PASSWORD)
     wait_for_element_attribute_change(self.driver, PASSWORD_ERROR,
                                       'innerText',
                                       PASSWORD_ERROR_NO_OLD_MESSAGE)
예제 #2
0
 def test(self):
     page = SettingsPage(self.driver)
     page.change_password(
         self.NEW_PASSWORD,
         self.NEW_PASSWORD_CONFIRM,
         self.PASSWORD
     )
     wait_for_pop_up(self.driver)
예제 #3
0
 def tearDown(self):
     page = SettingsPage(self.driver)
     page.change_password(
         self.PASSWORD,
         self.PASSWORD,
         self.NEW_PASSWORD
     )
     wait_for_pop_up(self.driver)
     super().tearDown()