call_tool_mailings_signup.feature 706 B

1234567891011121314151617
  1. @javascript
  2. Feature: Users can sign up for mailings on call action pages
  3. Background: Call actions should include an opt-in for mailings
  4. Given a call campaign exists
  5. When I browse to the action page
  6. Then I should see an option to sign up for mailings
  7. Scenario: Not opting in should not sign you up for mailings
  8. When I fill in my phone number, address, and zip code and click call
  9. Then I should not have signed up for mailings
  10. Scenario: Opting in should sign you up for mailings
  11. When I enter the email "test@example.com" and opt for mailings
  12. And I fill in my phone number, address, and zip code and click call
  13. Then "test@example.com" should be signed up for mailings