Commit 0b0643c3dd7e3697a97104fd6381c93f8e92f127
1 parent
1b51e691
Exists in
master
and in
23 other branches
Added fixme on test: features/send_email_to_environment_members.feature
Showing
1 changed file
with
6 additions
and
2 deletions
Show diff stats
features/send_email_to_environment_members.feature
| ... | ... | @@ -15,25 +15,28 @@ Feature: send emails to environment members users |
| 15 | 15 | When I go to /admin/users/send_mail |
| 16 | 16 | Then I should see "Access denied" |
| 17 | 17 | |
| 18 | + @selenium @fixme | |
| 18 | 19 | Scenario: Send e-mail to members |
| 19 | 20 | Given I am logged in as admin |
| 20 | 21 | When I follow "Administration" |
| 21 | 22 | And I follow "Users" |
| 22 | 23 | And I follow "Send e-mail to users" |
| 23 | 24 | And I fill in "Subject" with "Hello, user!" |
| 24 | - And I fill in "body" with "We have some news" | |
| 25 | + And I fill in "Body" with "We have some news" | |
| 25 | 26 | When I press "Send" |
| 26 | 27 | Then I should be on /admin/users |
| 27 | 28 | |
| 29 | + @selenium @fixme | |
| 28 | 30 | Scenario: Not send e-mail to members if subject is blank |
| 29 | 31 | Given I am logged in as admin |
| 30 | 32 | When I follow "Administration" |
| 31 | 33 | And I follow "Users" |
| 32 | 34 | And I follow "Send e-mail to users" |
| 33 | - And I fill in "body" with "We have some news" | |
| 35 | + And I fill in "Body" with "We have some news" | |
| 34 | 36 | When I press "Send" |
| 35 | 37 | Then I should be on /admin/users/send_mail |
| 36 | 38 | |
| 39 | + @selenium | |
| 37 | 40 | Scenario: Not send e-mail to members if body is blank |
| 38 | 41 | Given I am logged in as admin |
| 39 | 42 | When I follow "Administration" |
| ... | ... | @@ -43,6 +46,7 @@ Feature: send emails to environment members users |
| 43 | 46 | When I press "Send" |
| 44 | 47 | Then I should be on /admin/users/send_mail |
| 45 | 48 | |
| 49 | + @selenium | |
| 46 | 50 | Scenario: Cancel creation of mailing |
| 47 | 51 | Given I am logged in as admin |
| 48 | 52 | When I follow "Administration" | ... | ... |