From 5c27eab0538aae29bd8015077c0e7629ba928401 Mon Sep 17 00:00:00 2001 From: Rodrigo Virgilio Date: Mon, 6 Jul 2026 15:20:40 +0100 Subject: [PATCH] Fix field selector in kit duplicate items spec (fixes #5615) --- spec/system/kit_system_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/system/kit_system_spec.rb b/spec/system/kit_system_spec.rb index da58f51653..1b72d660b7 100644 --- a/spec/system/kit_system_spec.rb +++ b/spec/system/kit_system_spec.rb @@ -239,8 +239,8 @@ item = Item.last # Add first entry for the item - select item.name, from: "item_line_items_attributes_0_item_id" - fill_in "item_line_items_attributes_0_quantity", with: "10" + select item.name, from: "kit_item_line_items_attributes_0_item_id" + fill_in "kit_item_line_items_attributes_0_quantity", with: "10" # Add a new line item row find("[data-form-input-target='addButton']").click