Update e2e
This commit is contained in:
parent
b7948b9869
commit
6f86f73ac6
|
@ -1183,7 +1183,7 @@ class TestProfileMultipleDevice(MultipleDeviceTestCase):
|
||||||
for name in (nickname, ens_name):
|
for name in (nickname, ens_name):
|
||||||
if not profile_2.element_by_text(name).is_element_displayed():
|
if not profile_2.element_by_text(name).is_element_displayed():
|
||||||
self.errors.append('%s is not shown in contact list' % name)
|
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:
|
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')
|
self.errors.append('Nickname for user with ENS is not shown in 1-1 chat header')
|
||||||
chat_2_one_to_one.chat_options.click()
|
chat_2_one_to_one.chat_options.click()
|
||||||
|
|
|
@ -458,7 +458,6 @@ class TestMessagesOneToOneChatMultiple(MultipleDeviceTestCase):
|
||||||
self.errors.append('Device 2: URL was not opened from 1-1 chat')
|
self.errors.append('Device 2: URL was not opened from 1-1 chat')
|
||||||
web_view.back_to_home_button.click()
|
web_view.back_to_home_button.click()
|
||||||
chat_2.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))
|
chat_name = ''.join(random.choice(string.ascii_lowercase) for _ in range(7))
|
||||||
home_1.join_public_chat(chat_name)
|
home_1.join_public_chat(chat_name)
|
||||||
|
|
Loading…
Reference in New Issue