Capybara can not find element by id
By default Capybara doesn't find elements that are not visible on the page. You can try
page.find('#notice_sent', visible: :all)
to see if that's the case. If so, and you're testing an app, then you should perform whatever actions a user would perform that would make that element visible, and then check for its presence.