mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
Fix hotwire test
This commit is contained in:
parent
b884021f66
commit
4c2a299510
2 changed files with 2 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue