e2e: wait for Join button to be available (#18316)

This commit is contained in:
Tetiana Churikova 2023-12-28 16:31:54 +01:00 committed by GitHub
parent 7a4d79179d
commit 169a092e7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -425,7 +425,7 @@ class CommunityView(HomeView):
def join_community(self, password=common_password, open_community=True): def join_community(self, password=common_password, open_community=True):
self.driver.info("Joining community") self.driver.info("Joining community")
ChatView(self.driver).chat_element_by_text("https://status.app/c/").click_on_link_inside_message_body() ChatView(self.driver).chat_element_by_text("https://status.app/c/").click_on_link_inside_message_body()
self.join_button.click() self.join_button.wait_and_click(120)
self.join_community_button.scroll_and_click() self.join_community_button.scroll_and_click()
self.password_input.send_keys(password) self.password_input.send_keys(password)
Button(self.driver, Button(self.driver,