Commit 1b51e691df180a2610aa465228e2cdf6e4a0737b
1 parent
5204c62a
Exists in
master
and in
29 other branches
Fixed test: features/send_email_to_organization_members.feature
Showing
1 changed file
with
5 additions
and
5 deletions
Show diff stats
features/send_email_to_organization_members.feature
@@ -33,7 +33,7 @@ Feature: send emails to organization members | @@ -33,7 +33,7 @@ Feature: send emails to organization members | ||
33 | And I go to Sample Community's members management | 33 | And I go to Sample Community's members management |
34 | And I follow "Send e-mail to members" | 34 | And I follow "Send e-mail to members" |
35 | And I fill in "Subject" with "Hello, member!" | 35 | And I fill in "Subject" with "Hello, member!" |
36 | - And I fill in "body" with "We have some news" | 36 | + And I fill in "Body" with "We have some news" |
37 | When I press "Send" | 37 | When I press "Send" |
38 | Then I should be on Sample Community's members management | 38 | Then I should be on Sample Community's members management |
39 | 39 | ||
@@ -41,7 +41,7 @@ Feature: send emails to organization members | @@ -41,7 +41,7 @@ Feature: send emails to organization members | ||
41 | Given I am logged in as "joaosilva" | 41 | Given I am logged in as "joaosilva" |
42 | And I go to Sample Community's members management | 42 | And I go to Sample Community's members management |
43 | And I follow "Send e-mail to members" | 43 | And I follow "Send e-mail to members" |
44 | - And I fill in "body" with "We have some news" | 44 | + And I fill in "Body" with "We have some news" |
45 | When I press "Send" | 45 | When I press "Send" |
46 | Then I should be on /profile/sample-community/send_mail | 46 | Then I should be on /profile/sample-community/send_mail |
47 | 47 | ||
@@ -68,19 +68,19 @@ Feature: send emails to organization members | @@ -68,19 +68,19 @@ Feature: send emails to organization members | ||
68 | Scenario: Show button "Send e-Mail to members" of community to an moderator | 68 | Scenario: Show button "Send e-Mail to members" of community to an moderator |
69 | Given I am logged in as "jose" | 69 | Given I am logged in as "jose" |
70 | When I go to Sample Community's members page | 70 | When I go to Sample Community's members page |
71 | - Then I should see "Send e-mail to members" link | 71 | + Then I should see "Send e-mail to members" |
72 | 72 | ||
73 | Scenario: Not show button "Send e-Mail to members" if user has no right permission | 73 | Scenario: Not show button "Send e-Mail to members" if user has no right permission |
74 | Given I am logged in as "manoel" | 74 | Given I am logged in as "manoel" |
75 | When I go to Sample Community's members page | 75 | When I go to Sample Community's members page |
76 | - Then I should not see "Send e-mail to members" link | 76 | + Then I should not see "Send e-mail to members" |
77 | 77 | ||
78 | Scenario: Redirect back to profile members page after send mail | 78 | Scenario: Redirect back to profile members page after send mail |
79 | Given I am logged in as "jose" | 79 | Given I am logged in as "jose" |
80 | When I go to Sample Community's members page | 80 | When I go to Sample Community's members page |
81 | And I follow "Send e-mail to members" | 81 | And I follow "Send e-mail to members" |
82 | And I fill in "Subject" with "Hello, member!" | 82 | And I fill in "Subject" with "Hello, member!" |
83 | - And I fill in "body" with "We have some news" | 83 | + And I fill in "Body" with "We have some news" |
84 | When I press "Send" | 84 | When I press "Send" |
85 | Then I should be on Sample Community's members page | 85 | Then I should be on Sample Community's members page |
86 | 86 |