e2e: updated onboarding flow
This commit is contained in:
parent
bc6de0722f
commit
028f959bc3
|
@ -237,9 +237,7 @@ class TestCommunityOneDeviceMerged(MultipleSharedDeviceTestCase):
|
|||
|
||||
self.home.just_fyi("Check that removed user is not shown in the list anymore")
|
||||
self.home.reopen_app(sign_in=False)
|
||||
if self.sign_in.terms_and_privacy_checkbox.is_element_displayed(5):
|
||||
self.sign_in.terms_and_privacy_checkbox.click()
|
||||
self.sign_in.explore_new_status_button.click_until_presence_of_element(self.sign_in.show_profiles_button)
|
||||
self.sign_in.explore_new_status_button.click_until_presence_of_element(self.sign_in.show_profiles_button)
|
||||
self.sign_in.show_profiles_button.wait_and_click()
|
||||
if self.sign_in.element_by_text(self.username).is_element_displayed():
|
||||
self.errors.append("Removed user is re-appeared after relogin!")
|
||||
|
|
|
@ -244,7 +244,6 @@ class SignInView(BaseView):
|
|||
self.driver.info("## Creating new multiaccount (password:'%s', keycard:'%s', enable_notification: '%s')" %
|
||||
(password, str(keycard), str(enable_notifications)), device=False)
|
||||
if first_user:
|
||||
self.terms_and_privacy_checkbox.click()
|
||||
self.create_profile_button.click_until_presence_of_element(self.generate_keys_button)
|
||||
self.not_now_button.wait_and_click()
|
||||
else:
|
||||
|
@ -292,8 +291,7 @@ class SignInView(BaseView):
|
|||
|
||||
if not after_sync_code:
|
||||
if not second_user:
|
||||
self.terms_and_privacy_checkbox.click()
|
||||
self.sync_or_recover_profile_button.click_until_presence_of_element(self.generate_keys_button)
|
||||
self.create_profile_button.click_until_presence_of_element(self.generate_keys_button)
|
||||
self.not_now_button.wait_and_click()
|
||||
else:
|
||||
self.show_profiles_button.wait_and_click(20)
|
||||
|
|
Loading…
Reference in New Issue