e2e: fixes for community link and welcome button error

This commit is contained in:
Yevheniia Berdnyk 2024-08-06 18:58:31 +03:00
parent 1d84c30de3
commit 9a3cdc4f8b
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View File

@ -457,7 +457,7 @@ class CommunityView(HomeView):
self.community_options_button.click() self.community_options_button.click()
self.share_community_button.click() self.share_community_button.click()
text = self.sharing_text_native.text text = self.sharing_text_native.text
self.click_system_back_button() self.click_system_back_button(times=2)
return text return text
def handle_membership_request(self, username: str, approve=True): def handle_membership_request(self, username: str, approve=True):

View File

@ -265,6 +265,7 @@ class SignInView(BaseView):
self.allow_button.click_until_presence_of_element(self.start_button) self.allow_button.click_until_presence_of_element(self.start_button)
else: else:
self.maybe_later_button.click_until_presence_of_element(self.start_button) self.maybe_later_button.click_until_presence_of_element(self.start_button)
self.cancel_button.click_if_shown() # TODO: remove when issue 20806 is fixed
self.start_button.click() self.start_button.click()
self.chats_tab.wait_for_visibility_of_element(30) self.chats_tab.wait_for_visibility_of_element(30)
self.driver.info("## New multiaccount is created successfully!", device=False) self.driver.info("## New multiaccount is created successfully!", device=False)