access-id + start new chat fix
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
This commit is contained in:
parent
f5488e1f61
commit
4d0fd4389e
|
@ -66,7 +66,8 @@
|
||||||
[topbar/topbar
|
[topbar/topbar
|
||||||
{:title :t/new-chat
|
{:title :t/new-chat
|
||||||
:modal? true
|
:modal? true
|
||||||
:accessories [{:icon :qr
|
:accessories [{:icon :qr
|
||||||
|
:accessibility-label :scan-contact-code-button
|
||||||
:handler #(re-frame/dispatch [:qr-scanner.ui/scan-qr-code-pressed
|
:handler #(re-frame/dispatch [:qr-scanner.ui/scan-qr-code-pressed
|
||||||
{:title (i18n/label :t/new-contact)
|
{:title (i18n/label :t/new-contact)
|
||||||
:handler :contact/qr-code-scanned}])}]}]
|
:handler :contact/qr-code-scanned}])}]}]
|
||||||
|
|
|
@ -133,7 +133,7 @@ class TestChatManagement(SingleDeviceTestCase):
|
||||||
contacts_view = home.start_new_chat_button.click()
|
contacts_view = home.start_new_chat_button.click()
|
||||||
contacts_view.public_key_edit_box.set_value(basic_user['public_key'][:-1])
|
contacts_view.public_key_edit_box.set_value(basic_user['public_key'][:-1])
|
||||||
contacts_view.confirm()
|
contacts_view.confirm()
|
||||||
warning_text = contacts_view.element_by_text('Please enter or scan a valid chat key or username')
|
warning_text = contacts_view.element_by_text('User not found')
|
||||||
if not warning_text.is_element_displayed():
|
if not warning_text.is_element_displayed():
|
||||||
self.driver.fail('Error is not shown for invalid public key')
|
self.driver.fail('Error is not shown for invalid public key')
|
||||||
|
|
||||||
|
|
|
@ -170,7 +170,7 @@ class TestMessagesOneToOneChatMultiple(MultipleDeviceTestCase):
|
||||||
default_username_2 = profile_2.default_username_text.text
|
default_username_2 = profile_2.default_username_text.text
|
||||||
profile_2.home_button.click()
|
profile_2.home_button.click()
|
||||||
|
|
||||||
device_1_chat = device_1_home.add_contact(device_2_public_key)
|
device_1_chat = device_1_home.add_contact(device_2_public_key + ' ')
|
||||||
message = 'hello'
|
message = 'hello'
|
||||||
device_1_chat.chat_message_input.send_keys(message)
|
device_1_chat.chat_message_input.send_keys(message)
|
||||||
device_1_chat.send_message_button.click()
|
device_1_chat.send_message_button.click()
|
||||||
|
|
Loading…
Reference in New Issue