Skip to content

Commit

Permalink
Merge pull request #30 from ovsyanik-ka/feature/AT-254
Browse files Browse the repository at this point in the history
fix: after orders-cosmos and august-2
  • Loading branch information
KirillFurtikov authored Sep 24, 2018
2 parents 9f5722c + ca78e23 commit 3fdb07c
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 3fdb07c

Please sign in to comment.