Refactor and implement order buttons on supplier list view
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user