File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
spec/system/case_court_reports Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 9595 expect ( page ) . to have_selector "#case-selection option" , count : expected_number_of_options
9696 end
9797
98- it "shows correct transition status labels" , :aggregate_failures do
98+ it "shows correct transition status labels" , :aggregate_failures do # rubocop:disable RSpec/ExampleLength
9999 younger_than_transition_age = volunteer . casa_cases . reject ( &:in_transition_age? ) . first
100100 at_least_transition_age = volunteer . casa_cases . detect ( &:in_transition_age? )
101101
119119 expect ( page ) . to have_selector "#case-selection option:first-of-type" , text : "Select case number"
120120 end
121121
122- it "shows an error when generating without a selection" , :aggregate_failures do
122+ it "shows an error when generating without a selection" , :aggregate_failures do # rubocop:disable RSpec/ExampleLength
123123 # Ensure default is selected
124124 page . select "Select case number" , from : "case-selection"
125125 click_button "Generate Report"
165165 let ( :casa_case ) { volunteer . casa_cases . first }
166166 let ( :search_term ) { casa_case . case_number [ -3 ..] }
167167
168- it "selects the correct case" , :aggregate_failures , :js do
168+ it "selects the correct case" , :aggregate_failures , :js do # rubocop:disable RSpec/ExampleLength
169169 open_court_report_modal
170170 open_case_select2_dropdown
171171 send_keys ( search_term )
You can’t perform that action at this time.
0 commit comments