Skip to content

Commit

Permalink
Merge pull request abak-press#33 from AFDolina/fix/june-1
Browse files Browse the repository at this point in the history
fix(selenium): add_product_button [skip ci]
  • Loading branch information
Artemklochkov authored Jul 5, 2019
2 parents 5bc105b + 2af57b2 commit 642bae1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
@cs_eti_page.set_name(@name)
@cs_eti_page.wait_saving
@cs_eti_page.set_rubric(CONFIG['eti']['rubric'])
@cs_eti_page.wait_until { @cs_eti_page.first_product_status_element.attribute('title') == 'Опубликованные' }
@cs_eti_page.wait_until { @cs_eti_page.first_product_status_element.attribute('title') == 'Опубликованные на портале' }
@cs_eti_page.refresh
@cs_eti_page.search_product(@name)
end
Expand Down
2 changes: 1 addition & 1 deletion lib/pages/company_site/eti_page.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class EtiPage < Page
span(:price_cell, xpath: "//*[contains(text(), 'Указать розничную цену')]")
span(:wholesale_price_cell, css: '.js-eti-wholesaleprice .bp-price-free')
span(:exist_cell, xpath: "//*[contains(text(), 'Указать наличие')]")
button(:add_product, css: '.new.js-add-product')
button(:add_product, css: '.js-add-product')
text_area(:edit_text_area, css: '.edit-text')

text_area(:price_text_area, css: '.js-text-price')
Expand Down

0 comments on commit 642bae1

Please sign in to comment.