Exemple #1
0
 def setUp(self):
     auth_test(self)
     # Create 3 new todos
     main_page = MainPage(self.driver)
     main_page.delete_todos(self)
     for iii in range(len(self.TODO_NAMES)):
         main_page.create_todo(self.TODO_NAMES[iii], iii)
     self.driver.get(self.driver.current_url)
     main_page.check_for_self(self)
Exemple #2
0
 def tearDown(self):
     page = EgorMainPage(self.driver)
     page.delete_todos(self)
     self.driver.quit()