Many improvements and fixes
This commit is contained in:
@@ -51,6 +51,7 @@ step "the list on the supplier dashboard should be marked as in need of payment"
|
||||
end
|
||||
|
||||
step "the supplier dashboard list should display the updated price" do
|
||||
sleep 0.5
|
||||
el = find(".list-row-#{@list.id} .total_list_amount")
|
||||
# original order is 3 * 2.11 = 6.33
|
||||
# new order price = 5 * 2.22 = 11.10
|
||||
@@ -160,7 +161,5 @@ end
|
||||
|
||||
step "the supplier placed orders counter should be reduced" do
|
||||
sleep 0.5
|
||||
binding.pry
|
||||
puts page.driver.error_messages
|
||||
find('.supplier-orders-placed-count-number').text.should == "10"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user