def test(self):
     page = SettingsPage(self.driver)
     self.email = page.get_email()
     page.change_email(self.VALID_EMAIL)
     wait_for_pop_up(self.driver)
     page.refresh()
     self.assertEqual(page.get_email(), self.VALID_EMAIL)
Esempio n. 2
0
 def test(self):
     page = SettingsPage(self.driver)
     self.name = page.get_name()
     page.change_name(self.VALID_NAME)
     wait_for_pop_up(self.driver)
     page.refresh()
     self.assertEqual(
         page.get_name(),
         self.VALID_NAME
     )