Esempio n. 1
0
 def setUp(self):
     default_setup(self)
     setup_auth(self)
     self.people_page = PeoplePage(self.driver)
     self.profile_page = ProfilePage(self.driver)
     self.people_page.open()
     self.people_page.subscribe()
 def setUp(self):
     default_setup(self)
     setup_auth(self)
     self.profile_page = ProfilePage(self.driver)
     self.profile_page.create_playlist(self.playlist_name)
     self.film_page = FilmPage(self.driver)
     self.film_page.add_film_in_playlist(self.playlist_name)
Esempio n. 3
0
def delete_user(t):
    profile_page = ProfilePage(t.driver)
    profile_page.open()
    profile_page.delete_user()
Esempio n. 4
0
def profile_page(clients_page, browser):
    page = ProfilePage(browser)
    page.show_profile()
    return page
Esempio n. 5
0
 def test_open_profile_from_main_page(self, clients_page, browser):
     ProfilePage(browser).show_profile()
Esempio n. 6
0
 def setUp(self):
     default_setup(self)
     setup_auth(self)
     self.people_page = PeoplePage(self.driver)
     self.profile_page = ProfilePage(self.driver)
 def setUp(self):
     default_setup(self)
     setup_auth(self)
     self.profile_page = ProfilePage(self.driver)
     self.profile_page.open_playlist()
Esempio n. 8
0
 def test_profile_page(self, login_fb):
     profile_page = ProfilePage(login_fb)
     profile_page.click_on_profile_button()
     profile_page.open_more_combobox()
     profile_page.select_sports_option()
     profile_page.is_displayed_sports_title()
Esempio n. 9
0
 def click_on_profile_button(self):
     profile_button = self.driver.find_element(*self.PROFILE_BUTTON).click()
     return ProfilePage(self.driver)
Esempio n. 10
0
 def setUp(self):
     default_setup(self)
     setup_auth(self)
     self.setting_page = SettingPage(self.driver)
     self.profile_page = ProfilePage(self.driver)
     self.setting_page.open()
Esempio n. 11
0
 def test_profile_page(self):
     profile_page = ProfilePage(self.driver)
     profile_page.click_on_profile_button()
Esempio n. 12
0
def get_profile_login(t):
    profile_page = ProfilePage(t.driver)
    profile_page.open()
    return profile_page.get_username()