Skip to content

Commit

Permalink
fix: after orders-cosmos and august-2
Browse files Browse the repository at this point in the history
  • Loading branch information
ovsyanik-ka committed Sep 24, 2018
1 parent 9f5722c commit ca78e23
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/pages/company_site/eti_page.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,15 @@ def create_and_set_product_fields(options = {})
end
end

# TODO: в данном методе double_click добавляется временно.
# после решения задачи https://jira.railsc.ru/browse/GOODS-1484 вернуть
# .click
# .send_keys(Selenium::WebDriver::Keys::KEYS[:enter])
def set_name(text)
browser
.action
.move_to(name_cell_element.element)
.click
.send_keys(Selenium::WebDriver::Keys::KEYS[:enter])
.double_click
.send_keys(text)
.send_keys(Selenium::WebDriver::Keys::KEYS[:enter])
.perform
Expand Down

0 comments on commit ca78e23

Please sign in to comment.