Skip to content

[BUG]: kit_system_spec failing in CI #5615

Description

@stefannibrasil

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

CI has been failing for this test:


Failures:

  1) Kit management when duplicate items detects duplicate items and shows modal
     Failure/Error: select item.name, from: "item_line_items_attributes_0_item_id"

     Capybara::ElementNotFound:
       Unable to find select box "item_line_items_attributes_0_item_id" that is not disabled and Unable to find input box with datalist completion "item_line_items_attributes_0_item_id" that is not disabled

     [Screenshot Image]: /home/runner/work/human-essentials/human-essentials/tmp/capybara/failures_r_spec_example_groups_kit_management_when_duplicate_items_detects_duplicate_items_and_shows_modal_483.png


     # ./spec/system/kit_system_spec.rb:242:in 'block (3 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     # Capybara::ElementNotFound:
     #   Unable to find select box "item_line_items_attributes_0_item_id" that is not disabled
     #   ./spec/system/kit_system_spec.rb:242:in 'block (3 levels) in <top (required)>'

Finished in 2 minutes 8.7 seconds (files took 6.1 seconds to load)
234 examples, 1 failure

Failed examples:

rspec ./spec/system/kit_system_spec.rb:231 # Kit management when duplicate items detects duplicate items and shows modal

Randomized with seed 23953

See this action results for more details:
https://github.com/rubyforgood/human-essentials/actions/runs/27987814347/job/82833324507?pr=5587

Expected Behavior

CI should have no failing tests.

Steps To Reproduce

No response

Environment

CI

Criteria for Completion

No response

Anything else?

No response

Code of Conduct

  • I've read the Code of Conduct and understand my responsibilities as a member of the Ruby for Good community

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions