Style upgrades and emberified supplier lists

This commit is contained in:
2014-04-24 16:41:08 +02:00
parent 546e4499ea
commit 27a1022eb4
56 changed files with 321 additions and 139 deletions
@@ -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