diff --git a/lib/apress/selenium_eti/spec/company_site/eti/product_creation_spec.rb b/lib/apress/selenium_eti/spec/company_site/eti/product_creation_spec.rb index 8e54c7f..daf4567 100644 --- a/lib/apress/selenium_eti/spec/company_site/eti/product_creation_spec.rb +++ b/lib/apress/selenium_eti/spec/company_site/eti/product_creation_spec.rb @@ -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 diff --git a/lib/pages/company_site/eti_page.rb b/lib/pages/company_site/eti_page.rb index 0e53755..67ba3f8 100644 --- a/lib/pages/company_site/eti_page.rb +++ b/lib/pages/company_site/eti_page.rb @@ -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')