diff --git a/test/system/students_test.rb b/test/system/students_test.rb index 9553641..488acfb 100644 --- a/test/system/students_test.rb +++ b/test/system/students_test.rb @@ -21,7 +21,9 @@ class StudentsTest < ApplicationSystemTestCase page.accept_alert sleep 5 - + + save_screenshot + click_link('Send invitation email') assert_selector '.alert-success', text: "Sent an invitation email to #{@gem_record.studentname}"