e2e: fixes for community link and welcome button error
This commit is contained in:
parent
1d84c30de3
commit
9a3cdc4f8b
|
@ -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):
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue