示例#1
0
 def test_select_gender_pronoun(self, selenium, base_url):
     homepage = Homepage(selenium, base_url).open()
     homepage.login("email", "password", "secret_seed")
     profile = homepage.go_to_my_profile()
     assert profile.is_profile_picture_shown
     profile.edit_profile_intro()
     profile.add_gender_pronoun("Test")
     profile.save_intro()
示例#2
0
 def test_edit_first_name(self, selenium, base_url):
     homepage = Homepage(selenium, base_url).open()
     profile = homepage.go_to_my_profile()
     assert profile.is_profile_picture_shown
     initial_name = profile.name
     profile.edit_profile_intro()
     profile.add_first_name("Test")
     profile.save_intro()
     assert initial_name != profile.name
示例#3
0
 def test_change_privacy_for_first_name(self, selenium, base_url):
     homepage = Homepage(selenium, base_url).open()
     homepage.login("email", "password", "secret_seed")
     profile = homepage.go_to_my_profile()
     assert profile.is_profile_picture_shown
     edit_profile = profile.edit_profile_intro()
     initial_privacy = edit_profile.first_name_privacy
     edit_profile.set_privacy_for_first_name("Public")
     edit_profile.save_intro()
     assert edit_profile.first_name_privacy != initial_privacy
示例#4
0
 def test_edit_fun_job_title(self, selenium, base_url):
     homepage = Homepage(selenium, base_url).open()
     homepage.login("email", "password", "secret_seed")
     profile = homepage.go_to_my_profile()
     assert profile.is_profile_picture_shown
     initial_fun_job_title = profile.fun_job_title
     edit_profile = profile.edit_profile_intro()
     edit_profile.add_fun_job_title("make fun of bugs")
     edit_profile.save_intro()
     assert initial_fun_job_title != profile.fun_job_title
示例#5
0
 def test_edit_alternative_name(self, selenium, base_url):
     homepage = Homepage(selenium, base_url).open()
     homepage.login("email", "password", "secret_seed")
     profile = homepage.go_to_my_profile()
     assert profile.is_profile_picture_shown
     initial_alternative_name = profile.alternative_name
     edit_profile = profile.edit_profile_intro()
     edit_profile.add_alternative_name("super 88 bau")
     edit_profile.save_intro()
     assert initial_alternative_name != profile.alternative_name
示例#6
0
 def test_edit_first_name(self, selenium, base_url):
     homepage = Homepage(selenium, base_url).open()
     homepage.login("email", "password", "secret_seed")
     assert homepage.is_user_picture_displayed
     profile = homepage.go_to_my_profile()
     assert profile.is_profile_picture_shown
     initial_name = profile.name
     edit_profile = profile.edit_profile_intro()
     edit_profile.add_first_name("Test")
     edit_profile.save_intro()
     assert initial_name != profile.name