From 784bc2c948e2257299afe67bc741eb329a4aff38 Mon Sep 17 00:00:00 2001 From: Anton Danchenko Date: Fri, 6 Jul 2018 14:29:01 +0300 Subject: [PATCH] fix for selecting logo Signed-off-by: yevh-berdnyk --- test/appium/views/profile_view.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/appium/views/profile_view.py b/test/appium/views/profile_view.py index c34a0fffeb..49ef36da65 100644 --- a/test/appium/views/profile_view.py +++ b/test/appium/views/profile_view.py @@ -371,6 +371,8 @@ class ProfileView(BaseView): self.select_from_gallery_button.click() if self.allow_button.is_element_displayed(sec=10): self.allow_button.click() + for element_text in 'Images', 'DCIM': + self.element_by_text(element_text).click() self.element_by_text(file_name).click() self.confirm_button.click()