diff --git a/test/appium/tests/activity_center/test_activity_center.py b/test/appium/tests/activity_center/test_activity_center.py index e6b53308e8..26fc8ef5ae 100644 --- a/test/appium/tests/activity_center/test_activity_center.py +++ b/test/appium/tests/activity_center/test_activity_center.py @@ -239,6 +239,7 @@ class TestActivityCenterContactRequestMultipleDevicePR(MultipleSharedDeviceTestC @pytest.mark.xdist_group(name="new_four_2") @marks.nightly +@marks.xfail(run=False, reason="Skipped due to waku issue on staging fleet") class TestActivityMultipleDevicePR(MultipleSharedDeviceTestCase): def prepare_devices(self): @@ -379,6 +380,7 @@ class TestActivityMultipleDevicePR(MultipleSharedDeviceTestCase): @pytest.mark.xdist_group(name="new_six_2") @marks.nightly +@marks.xfail(run=False, reason="Skipped due to waku issue on staging fleet") class TestActivityMultipleDevicePRTwo(MultipleSharedDeviceTestCase): def prepare_devices(self): diff --git a/test/appium/tests/critical/chats/test_1_1_public_chats.py b/test/appium/tests/critical/chats/test_1_1_public_chats.py index cf803bbc2d..69424f1956 100644 --- a/test/appium/tests/critical/chats/test_1_1_public_chats.py +++ b/test/appium/tests/critical/chats/test_1_1_public_chats.py @@ -104,6 +104,7 @@ class TestOneToOneChatMultipleSharedDevicesNewUi(MultipleSharedDeviceTestCase): self.errors.verify_no_errors() @marks.testrail_id(702782) + # TODO: too complex, should be splitted def test_1_1_chat_emoji_send_reply_and_open_link(self): self.chat_1.navigate_back_to_chat_view() self.chat_2.navigate_back_to_chat_view() @@ -146,7 +147,7 @@ class TestOneToOneChatMultipleSharedDevicesNewUi(MultipleSharedDeviceTestCase): reply = 'reply to link' url_message = 'Test with link: https://status.im/ here should be nothing unusual.' self.chat_1.send_message(url_message) - self.chat_2.chat_element_by_text(url_message).wait_for_element(20) + self.chat_2.chat_element_by_text(url_message).wait_for_element(60) # self.chat_2.chat_element_by_text(url_message).long_press_element_by_coordinate(rel_x=0.8, rel_y=0.8) self.chat_2.quote_message(url_message) self.chat_2.send_message(reply) diff --git a/test/appium/tests/critical/chats/test_public_chat_browsing.py b/test/appium/tests/critical/chats/test_public_chat_browsing.py index c03bb5fdc5..2f1f45100b 100644 --- a/test/appium/tests/critical/chats/test_public_chat_browsing.py +++ b/test/appium/tests/critical/chats/test_public_chat_browsing.py @@ -155,7 +155,7 @@ class TestCommunityOneDeviceMerged(MultipleSharedDeviceTestCase): @marks.testrail_id(703133) @marks.smoke - def test_restore_multiaccount_with_waku_backup_remove_switch(self): + def test_restore_multiaccount_with_waku_backup_remove_profile_switch(self): self.home.reopen_app(sign_in=False) self.home.just_fyi("Restore user with predefined communities and contacts") self.sign_in.recover_access(passphrase=waku_user.seed, second_user=True) @@ -237,6 +237,9 @@ 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.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!") @@ -271,7 +274,7 @@ class TestCommunityOneDeviceMerged(MultipleSharedDeviceTestCase): self.home.just_fyi("Check %s community tags in the Discover communities screen" % community_name) card = self.home.get_discover_community_card_by_name(community_name=community_name) try: - card.wait_for_visibility_of_element(30) + card.wait_for_visibility_of_element(90) # if community_name == 'Status': # card.swipe_to_web_element() missing_tags = list() @@ -305,6 +308,7 @@ class TestCommunityOneDeviceMerged(MultipleSharedDeviceTestCase): @pytest.mark.xdist_group(name="new_three_2") @marks.nightly +@marks.xfail(run=False, reason="Skipped due to waku issue on staging fleet") class TestCommunityMultipleDeviceMerged(MultipleSharedDeviceTestCase): def prepare_devices(self): @@ -835,6 +839,7 @@ class TestCommunityMultipleDeviceMerged(MultipleSharedDeviceTestCase): @pytest.mark.xdist_group(name="new_five_2") @marks.nightly +@marks.xfail(run=False, reason="Skipped due to waku issue on staging fleet") class TestCommunityMultipleDeviceMergedTwo(MultipleSharedDeviceTestCase): def prepare_devices(self): diff --git a/test/appium/tests/critical/test_deep_and_universal_links.py b/test/appium/tests/critical/test_deep_and_universal_links.py index 5a86b9cca4..a8babea534 100644 --- a/test/appium/tests/critical/test_deep_and_universal_links.py +++ b/test/appium/tests/critical/test_deep_and_universal_links.py @@ -75,6 +75,7 @@ class TestDeepLinksOneDevice(MultipleSharedDeviceTestCase): self.errors.verify_no_errors() @marks.testrail_id(739307) + @marks.xfail(run=False, reason="Skipped due to waku issue on staging fleet") def test_deep_links_communities(self): closed_community_name, snt_community_name = "closed community", "SNT community" self.home.navigate_back_to_home_view() diff --git a/test/appium/views/sign_in_view.py b/test/appium/views/sign_in_view.py index 732d8e1c27..93dd87a007 100644 --- a/test/appium/views/sign_in_view.py +++ b/test/appium/views/sign_in_view.py @@ -151,6 +151,7 @@ class SignInView(BaseView): self.terms_and_privacy_checkbox = Button( self.driver, xpath="//*[@content-desc='terms-privacy-checkbox-container']/*[@content-desc='checkbox-off']") + self.explore_new_status_button = Button(self.driver, accessibility_id="explore-new-status") 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') @@ -269,17 +270,14 @@ class SignInView(BaseView): # self.identifiers_button.wait_and_click(30) if enable_notifications: self.enable_notifications_button.wait_and_click() - self.cancel_button.click_if_shown() # TODO: remove when issue 20806 is fixed for _ in range(3): self.allow_button.click_if_shown(sec=10) - self.cancel_button.click_if_shown() # TODO: remove when issue 20806 is fixed self.enable_notifications_button.click_if_shown() if self.chats_tab.is_element_displayed(): break else: self.maybe_later_button.wait_and_click() for _ in range(3): - self.cancel_button.click_if_shown() # TODO: remove when issue 20806 is fixed self.maybe_later_button.click_if_shown() if self.chats_tab.is_element_displayed(): break @@ -309,17 +307,14 @@ class SignInView(BaseView): self.set_password(password) if enable_notifications: self.enable_notifications_button.wait_and_click() - self.cancel_button.click_if_shown() # TODO: remove when issue 20806 is fixed for _ in range(3): self.allow_button.click_if_shown(sec=10) - self.cancel_button.click_if_shown() # TODO: remove when issue 20806 is fixed self.enable_notifications_button.click_if_shown() if self.chats_tab.is_element_displayed(): break else: self.maybe_later_button.wait_and_click() for _ in range(3): - self.cancel_button.click_if_shown() # TODO: remove when issue 20806 is fixed self.maybe_later_button.click_if_shown() if self.chats_tab.is_element_displayed(): break