Esempio n. 1
0
 def click_delete_group(self):
     self._root_element.find_element(
         *self._delete_group_button_locator).click()
     from pages.groups_page import GroupsPage
     return GroupsPage(self.base_url, self.selenium)
 def delete_group(self):
     self.selenium.find_element(*self._delete_group_button).click()
     from pages.groups_page import GroupsPage
     return GroupsPage(self.base_url, self.selenium)
Esempio n. 3
0
def groups_page(driver):
    return GroupsPage(driver)
Esempio n. 4
0
 def click_find_group_link(self):
     self.selenium.find_element(*self._find_group_page).click()
     return GroupsPage(self.base_url, self.selenium)
Esempio n. 5
0
 def delete_group(self):
     self.wait.until(
         expected.visibility_of_element_located(
             self._delete_group_button)).click()
     from pages.groups_page import GroupsPage
     return GroupsPage(self.selenium, self.base_url)
Esempio n. 6
0
 def click_groups_menu_item(self):
     self.click_options()
     self.find_element(*self._groups_menu_item_locator).click()
     from pages.groups_page import GroupsPage
     return GroupsPage(self.selenium, self.base_url)
Esempio n. 7
0
 def click_find_group_link(self):
     self.selenium.find_element(*self._find_group_page).click()
     return GroupsPage(self.testsetup)