assert page.has_text?('Please check the box below to indicate that you have read and accepted the user agreement'), 'Not found text - Please check the box below . . .'
end
elsif invited
assert page.has_text?('Please check the box below to indicate that you have read and accepted the user agreement'), 'Not found text - Please check the box below . . .'
@@ -50,16+51,22 @@ class ApplicationLayoutTest < ActionDispatch::IntegrationTest
assert page.has_no_link?('Sign agreements'), 'Found link - Sign agreements'