Fix hotwire test

pull/1/head
rebuilt 3 years ago
parent b884021f66
commit 4c2a299510

@ -15,7 +15,7 @@
turbo_frame: "schools",
turbo_action: "advance",
controller: "form",
action: "input->form#submit"
action: "change->form#submit"
}) do |f| %>
<%= turbo_frame_tag "schools" do %>

@ -166,9 +166,8 @@ def go_to_school_overview_from_welcome_page(district, school)
expect(page).to have_select('district', selected: 'Select a District')
select district.name, from: 'district-dropdown'
expect(page).to have_select('school', selected: 'Select a School')
visit welcome_path({ district: district.id, school: school.id })
expect(page).to have_select('school', selected: 'Winchester High School')
select school.name, from: 'school-dropdown'
expect(page).to have_select('school', selected: 'Winchester High School')
click_on 'Go'
end

Loading…
Cancel
Save