Commit b29ff55ee4b7b0bba110807612b0ee0be3b83cac

Authored by Rodrigo Souto
1 parent cbbdba89

Fixing send_email_plugin feature tests

plugins/send_email/features/send_email_plugin.feature
@@ -25,17 +25,14 @@ Feature: send_email_plugin @@ -25,17 +25,14 @@ Feature: send_email_plugin
25 Scenario: as admin I can configure plugin 25 Scenario: as admin I can configure plugin
26 Given I am logged in as admin 26 Given I am logged in as admin
27 When I go to the environment control panel 27 When I go to the environment control panel
28 - And I follow "Enable/disable plugins"  
29 - Then I should see "SendEmailPlugin" linking to "/admin/plugin/send_email" 28 + And I follow "Plugins"
  29 + Then I should see "Configuration" linking to "/admin/plugin/send_email"
30 30
31 Scenario: configure plugin to allow emails to john@example.com 31 Scenario: configure plugin to allow emails to john@example.com
32 Given I am logged in as admin 32 Given I am logged in as admin
33 - And I go to the environment control panel  
34 - And I follow "Enable/disable plugins"  
35 - When I follow "SendEmailPlugin" 33 + When I go to /admin/plugin/send_email
36 Then I should not see "john@example.com" 34 Then I should not see "john@example.com"
37 When I fill in "E-Mail addresses you want to allow to send" with "john@example.com" 35 When I fill in "E-Mail addresses you want to allow to send" with "john@example.com"
38 And I press "Save" 36 And I press "Save"
39 - Then I should be on /admin/plugins  
40 - When I follow "SendEmailPlugin" 37 + When I go to /admin/plugin/send_email
41 Then I should see "john@example.com" 38 Then I should see "john@example.com"