Example #1
0
 def tearDown(self):
     page = MainPage(self.driver)
     lists = page.count_lists_by_name(self.LIST_NAME)
     page.open_list_by_id(self.listId)
     ListPage(self.driver).delete()
     page.refresh()
     page.wait_for_list_not_to_appear(self.LIST_NAME, lists)
     super().tearDown()
 def test(self):
     page = ListPage(self.driver)
     page.delete()
     wait_for_url(self.driver, TODO_MAIN_URL)
     page = MainPage(self.driver)
     self.assertEqual(
         self.lists - 1,
         page.count_lists()
     )
 def test(self):
     page = ListPage(self.driver)
     page.change_description(self.DESCRIPTION)
     page.wait_for_description(self.DESCRIPTION)
 def test(self):
     page = ListPage(self.driver)
     newColor = page.change_color_modal()
     page.wait_for_color(newColor)
Example #5
0
 def test(self):
     page = ListPage(self.driver)
     page.change_name(self.NEW_LIST_NAME)
     page.wait_for_name(self.NEW_LIST_NAME)
     self.LIST_NAME = self.NEW_LIST_NAME
Example #6
0
 def test(self):
     page = ListPage(self.driver)
     page.change_description_modal(LIST_LONG_DESCRIPTION)
     page.refresh()
     page.wait_for_description(LIST_DESCRIPTION_PLACEHOLDER)
 def test(self):
     page = ListPage(self.driver)
     page.change_name(LIST_LONG_NAME)
     page.refresh()
     page.wait_for_name(self.LIST_NAME)
 def test(self):
     page = ListPage(self.driver)
     page.change_name_modal(self.NEW_LIST_NAME)
     page.wait_for_name(LIST_NAME_PLACEHOLDER)
     self.LIST_NAME = self.NEW_LIST_NAME