fix for selecting logo

Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
This commit is contained in:
Anton Danchenko 2018-07-06 14:29:01 +03:00 committed by yevh-berdnyk
parent 5e3f65eac8
commit 784bc2c948
No known key found for this signature in database
GPG Key ID: E9B425FDFC4DEA9C
1 changed files with 2 additions and 0 deletions

View File

@ -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()