Esempio n. 1
0
def test_profile_input_wrong_date_of_birth(browser, date_of_birth):
    link = "https://robo.market/"
    page = MainPage(browser, link)
    page.go_to_site()
    page.geo_accept_moscow()
    page.authorization_lk_user2()
    page.get_to_profile_section()
    page_lk = LkProfilePage(browser, link)
    page_lk.profile_input_wrong_date_of_birth(date_of_birth)
Esempio n. 2
0
def test_check_profile_email(browser):
    link = "https://robo.market/"
    page = MainPage(browser, link)
    page.go_to_site()
    page.geo_accept_moscow()
    page.authorization_lk_user2()
    page.get_to_profile_section()
    page_lk = LkProfilePage(browser, link)
    page_lk.check_user2_email()
Esempio n. 3
0
def test_profile_input_long_name(browser):
    link = "https://robo.market/"
    page = MainPage(browser, link)
    page.go_to_site()
    page.geo_accept_moscow()
    page.authorization_lk_user2()
    page.get_to_profile_section()
    page_lk = LkProfilePage(browser, link)
    page_lk.profile_input_long_name()
    page_lk.check_error_long_name()
Esempio n. 4
0
def test_success_change_profile_data(browser):
    link = "https://robo.market/"
    page = MainPage(browser, link)
    page.go_to_site()
    page.geo_accept_moscow()
    page.authorization_lk_user2()
    page.get_to_profile_section()
    page_lk = LkProfilePage(browser, link)
    page_lk.success_change_profile_data()
    page_lk.check_update_user2_name()