overwrite existing field value

This commit is contained in:
Andy Brett
2021-01-05 16:01:04 -08:00
parent 7ee8385902
commit e58cd8a043

View File

@@ -750,7 +750,7 @@ feature '
fill_in "product_name", with: "Big Bag Of Potatoes"
select supplier_managed2.name, from: 'producer_id'
fill_in "available_on", with: 3.days.ago.beginning_of_day.strftime("%F %T")
fill_in "available_on", with: 3.days.ago.beginning_of_day.strftime("%F %T"), fill_options: { clear: :backspace }
select "Weight (kg)", from: "variant_unit_with_scale"
find("a.view-variants").click