fix: Flaky test might be related to not waiting for go button to appear. Add line to wait for go button

This commit is contained in:
rebuilt 2023-06-26 14:20:29 -07:00
parent ebe28ed719
commit a13d46354a

View file

@ -175,6 +175,7 @@ def go_to_school_overview_from_welcome_page(district, school)
select school.name, from: 'school-dropdown'
expect(page).to have_select('school', selected: 'Lee Elementary School')
expect(page).to have_xpath('//a[@class="mx-4 btn btn-secondary"]')
click_on 'Go'
end