Skip to content

Commit

Permalink
Merge pull request #6065 from Formasitchijoh/@fix/account_request_spec
Browse files Browse the repository at this point in the history
Fix: failing test in account_requests_spec
  • Loading branch information
ragesoss authored Dec 17, 2024
2 parents f951240 + bde5268 commit d77c021
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spec/features/account_requests_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
login_as(instructor)
visit "/courses/#{course.slug}"
click_button 'Enable account requests'
click_button 'OK'
expect(page).to have_selector('.confirm-modal-overlay')
within('.confirm-modal') do
click_button 'OK'
end
expect(page).to have_content('Account request generation enabled')
end

Expand Down

0 comments on commit d77c021

Please sign in to comment.