e2e: waku align

Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
This commit is contained in:
Churikova Tetiana 2021-10-27 14:29:13 +02:00
parent 4349f2659e
commit 41496d5ce3
No known key found for this signature in database
GPG Key ID: 0D4EA7B33B47E6D8
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ class HomeView(BaseView):
chat.public_key_edit_box.send_keys(public_key)
one_to_one_chat = self.get_chat_view()
chat.confirm_until_presence_of_element(one_to_one_chat.chat_message_input)
if add_in_contacts:
if add_in_contacts and one_to_one_chat.add_to_contacts.is_element_displayed():
one_to_one_chat.add_to_contacts.click()
if nickname:
one_to_one_chat.chat_options.click()