Fix signed in employee adding supplier functionality
This commit is contained in:
@@ -16,6 +16,10 @@ step "fill in the supplier signup form with existing employee credentials" do
|
||||
js_set_field '#new_supplier_password_confirmation', @employee_password
|
||||
end
|
||||
|
||||
step "fill in the supplier signup form with a new supplier name" do
|
||||
js_set_field '#new_supplier_supplier_name', 'Signup Supplier'
|
||||
end
|
||||
|
||||
step "click on the supplier signup submit button" do
|
||||
find('[name="commit"]').click
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user