Skip to content

Commit

Permalink
fix: change some methods
Browse files Browse the repository at this point in the history
  • Loading branch information
ovsyanik-ka committed Oct 14, 2024
1 parent 8341879 commit 9a91593
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/pages/company_site/eti/action_panel.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ class ActionPanel < Page

button(:undo_button, css: '.js-undo')
button(:redo_button, css: '.js-redo')
button(:products, css: '.js-eti-action-panel__button_products')
button(:add_to_deal, css: '.js-deals-config')


def undo
undo_button
Expand All @@ -18,6 +21,11 @@ def redo
wait_saving
end

def open_deals_popup
products
add_to_deal
end

ActiveSupport.run_load_hooks(:'apress/selenium_eti/company_site/eti/action_panel', self)
end
end
Expand Down

0 comments on commit 9a91593

Please sign in to comment.