Style upgrades and emberified supplier lists
This commit is contained in:
@@ -7,12 +7,12 @@ end
|
||||
|
||||
step "the user clicks on the order product button :product_name" do |product_name|
|
||||
@last_product = instance_variable_get product_name.underscore.gsub(/\s/, '_').prepend('@')
|
||||
button = find ".order-product-#{@last_product.id}"
|
||||
button = find ".order-product-#{@last_product.id} .add-product-to-list"
|
||||
button.click
|
||||
end
|
||||
|
||||
step "the user clicks on the user order button" do
|
||||
find('#active-order-table .btn-primary').click
|
||||
find('.order-selected-products-button').click
|
||||
sleep 1
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user