e2e: temp fix for image selection
This commit is contained in:
parent
be2c697b7c
commit
456ccb4c69
|
@ -1242,8 +1242,13 @@ class ChatView(BaseView):
|
||||||
self.show_images_button.click()
|
self.show_images_button.click()
|
||||||
self.allow_button.click_if_shown()
|
self.allow_button.click_if_shown()
|
||||||
self.allow_all_button.click_if_shown()
|
self.allow_all_button.click_if_shown()
|
||||||
[self.get_image_by_index(i).click() for i in indexes]
|
confirm_button = self.images_confirm_selection_button
|
||||||
self.images_confirm_selection_button.click()
|
for i in indexes:
|
||||||
|
# ToDo: should be changed to just 1 click when https://github.com/status-im/status-mobile/issues/18872 when is fixed
|
||||||
|
self.get_image_by_index(i).click()
|
||||||
|
if not confirm_button.is_element_displayed(sec=3):
|
||||||
|
self.get_image_by_index(i).click()
|
||||||
|
confirm_button.click()
|
||||||
self.chat_message_input.send_keys(description)
|
self.chat_message_input.send_keys(description)
|
||||||
self.send_message_button.click()
|
self.send_message_button.click()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue