Skip to content

Commit

Permalink
feature(eti): add lost locators
Browse files Browse the repository at this point in the history
  • Loading branch information
ovsyanik committed Nov 9, 2017
1 parent 2ea0203 commit 1f4ffa0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/pages/company_site/eti_page.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ class EtiPage < Page
text_area(:product_search, xpath: "//*[@id='product-bindings-search']")
button(:search_button, css: '.js-search-submit')
span(:first_product_status, css: '.js-eti-status > div > i')
button(:save_deals, xpath: "//*[@class='ui-button-text'][contains(text(), 'Сохранить')]")
checkbox(:deal_product_checkbox, xpath: "//*[text()[contains(., \'#{CONFIG['offer_with_product']}\')]]/input")

alias old_confirm confirm
def save
Expand Down

0 comments on commit 1f4ffa0

Please sign in to comment.