GitHub Actions / Test Results
failed
Jun 28, 2024 in 0s
1 fail, 297 skipped, 6 433 pass in 2h 17m 26s
Annotations
Check warning on line 0 in ./spec/features/create_work_admin_spec.rb
github-actions / Test Results
1 out of 2 runs failed: Creating a new Work as admin when there are multiple admin sets allows default admin set to be the first item in the select menu (spec.features.create_work_admin_spec)
artifacts/spec-reports-koppie-4/rspec-koppie-4.xml [took 16s]
Raw output
expected to find visible select box "generic_work_admin_set_id" that is not disabled with "Default Admin Set" selected but there were no matches. Also found "Another Admin Set\nDefault Admin Set", which matched the selector but not all filters. Expected "Default Admin Set" to be selected found ["Another Admin Set"]
Failure/Error: expect(page).to have_select('generic_work_admin_set_id', selected: 'Default Admin Set')
expected to find visible select box "generic_work_admin_set_id" that is not disabled with "Default Admin Set" selected but there were no matches. Also found "Another Admin Set\nDefault Admin Set", which matched the selector but not all filters. Expected "Default Admin Set" to be selected found ["Another Admin Set"]
./spec/features/create_work_admin_spec.rb:26:in `block (3 levels) in <top (required)>'
./spec/spec_helper.rb:308:in `block (2 levels) in <top (required)>'
/app/bundle/ruby/3.2.0/gems/webmock-3.23.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
Loading