stability improvement
This commit is contained in:
@@ -79,7 +79,7 @@ step "the new list should appear in the supplier dashboard" do
|
||||
end
|
||||
|
||||
step "I click on the close list button in the supplier dashboard" do
|
||||
find(".list-row-#{@list.id} .close_list").click
|
||||
find(".list-row-#{@list.id} .close-list-button").click
|
||||
end
|
||||
|
||||
step "I click on the mark list as helped button in the supplier dashboard" do
|
||||
@@ -163,3 +163,7 @@ step "the supplier placed orders counter should be reduced" do
|
||||
sleep 0.5
|
||||
find('.supplier-orders-placed-count-number').text.should == "10"
|
||||
end
|
||||
|
||||
step "confirm the supplier close list modal" do
|
||||
find('.confirm-ok').click
|
||||
end
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
step "I provide a new supplier email address" do
|
||||
find('#supplier_email').set 'new-supplier-mail@qwaiter.com'
|
||||
find('.supplier-email').set 'new-supplier-mail@qwaiter.com'
|
||||
end
|
||||
|
||||
step "the supplier submits the supplier settings form" do
|
||||
find('.submit-supplier-settings').click
|
||||
sleep 1 # give application some time
|
||||
end
|
||||
|
||||
step "the supplier email should not have been changed" do
|
||||
|
||||
Reference in New Issue
Block a user