From b0d1b721ff41fe4a690c88152b94e3eb5b28e13d Mon Sep 17 00:00:00 2001 From: ovsyanik Date: Thu, 9 Nov 2017 15:58:04 +0500 Subject: [PATCH] fix(minieti): image locator https://jira.railsc.ru/browse/AT-25 --- lib/pages/company_site/eti_page.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pages/company_site/eti_page.rb b/lib/pages/company_site/eti_page.rb index 049d237..fad0a70 100644 --- a/lib/pages/company_site/eti_page.rb +++ b/lib/pages/company_site/eti_page.rb @@ -41,7 +41,7 @@ class EtiPage < Page button(:close_image_uploader, css: '.ui-resizable .ui-dialog-titlebar-close') span(:image_uploader, css: '.ui-dialog.ui-widget.ui-widget-content.ui-corner-all.ui-front.ui-draggable') - button(:image_cell, css: '.fa-camera') + button(:image_cell, xpath: "//*[@class='ibb-no-photo']/i[@class='fa fa-camera blank-image']") button(:image_upload_btn, css: '.js-upload-input') span(:thermometer, css: '.js-battery-wrapper') span(:rubric_cell, css: '.js-rubric-preview-link')