Update e2e

This commit is contained in:
Serhy 2020-11-02 19:12:24 +02:00 committed by andrey
parent b7948b9869
commit 6f86f73ac6
No known key found for this signature in database
GPG Key ID: 89B67245FD2F0272
2 changed files with 1 additions and 2 deletions

View File

@ -1183,7 +1183,7 @@ class TestProfileMultipleDevice(MultipleDeviceTestCase):
for name in (nickname, ens_name):
if not profile_2.element_by_text(name).is_element_displayed():
self.errors.append('%s is not shown in contact list' % name)
profile_2.home_button.click()
profile_2.home_button.click(desired_view='chat')
if chat_2_one_to_one.user_name_text.text != nickname:
self.errors.append('Nickname for user with ENS is not shown in 1-1 chat header')
chat_2_one_to_one.chat_options.click()

View File

@ -458,7 +458,6 @@ class TestMessagesOneToOneChatMultiple(MultipleDeviceTestCase):
self.errors.append('Device 2: URL was not opened from 1-1 chat')
web_view.back_to_home_button.click()
chat_2.home_button.click()
chat_2.back_button.click()
chat_name = ''.join(random.choice(string.ascii_lowercase) for _ in range(7))
home_1.join_public_chat(chat_name)