Refactor and implement order buttons on supplier list view

This commit is contained in:
2015-02-22 10:03:53 +01:00
parent 0ccfe07e13
commit 755690131c
24 changed files with 40 additions and 171 deletions
@@ -83,7 +83,7 @@ step "I click on the close list button in the supplier dashboard" do
end
step "I click on the mark list as helped button in the supplier dashboard" do
find(".list-row-#{@list.id} .mark_list_as_helped").click
find(".list-row-#{@list.id} .mark-list-as-helped-button").click
end
step "I should see the list and the new list" do
@@ -144,7 +144,7 @@ end
# Marking order as wrong
step "the supplier marks the order as wrong in the main board view" do
find(".order-row-#{@order.id} .remove-order").click
find(".order-row-#{@order.id} .mark-order-cancelled-button").click
end
step "the supplier main board order should not be visible anymore" do