diff --git a/test/appium/views/sign_in_view.py b/test/appium/views/sign_in_view.py index 6de36d7027..a6fb04ef31 100644 --- a/test/appium/views/sign_in_view.py +++ b/test/appium/views/sign_in_view.py @@ -150,6 +150,7 @@ class SignInView(BaseView): self.i_m_new_in_status_button = Button(self.driver, accessibility_id="new-to-status-button") self.create_profile_button = Button(self.driver, accessibility_id='new-to-status-button') + self.not_now_button = Button(self.driver, xpath="//*[@text='Not now']") self.sync_or_recover_profile_button = Button(self.driver, accessibility_id='already-use-status-button') self.migration_password_input = EditBox(self.driver, accessibility_id="enter-password-input") @@ -236,6 +237,7 @@ class SignInView(BaseView): (password, str(keycard), str(enable_notifications)), device=False) if first_user: self.create_profile_button.click_until_presence_of_element(self.generate_keys_button) + self.not_now_button.wait_and_click() else: if self.show_profiles_button.is_element_displayed(20): self.show_profiles_button.click() @@ -274,6 +276,7 @@ class SignInView(BaseView): if not second_user: self.sync_or_recover_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) self.plus_profiles_button.click()