Commit 9fa307afb19ea4f7eb7a1298449139c2306f1723
1 parent
803bee06
Exists in
master
and in
29 other branches
Fixed test: features/plugins.feature
Showing
1 changed file
with
8 additions
and
8 deletions
Show diff stats
features/plugins.feature
... | ... | @@ -23,36 +23,36 @@ Feature: plugins |
23 | 23 | |
24 | 24 | Scenario: a user must see the plugin\'s button in the control panel if the plugin is enabled |
25 | 25 | Given plugin TestPlugin is enabled on environment |
26 | - And I go to Joao Silva's control panel | |
26 | + And I go to joaosilva's control panel | |
27 | 27 | Then I should see "Test plugin button" |
28 | 28 | |
29 | 29 | Scenario: a user must see the plugin\'s tab in in the profile if the plugin is enabled |
30 | 30 | Given plugin TestPlugin is enabled on environment |
31 | - And I am on Joao Silva's profile | |
31 | + And I am on joaosilva's profile | |
32 | 32 | Then I should see "Test plugin tab" |
33 | 33 | |
34 | 34 | Scenario: a user must not see the plugin\'s button in the control panel if the plugin is disabled |
35 | 35 | Given plugin TestPlugin is disabled on environment |
36 | - And I go to Joao Silva's control panel | |
36 | + And I go to joaosilva's control panel | |
37 | 37 | Then I should not see "Test plugin button" |
38 | 38 | |
39 | 39 | Scenario: a user must not see the plugin\'s tab in in the profile if the plugin is disabled |
40 | 40 | Given plugin TestPlugin is disabled on environment |
41 | - And I am on Joao Silva's profile | |
41 | + And I am on joaosilva's profile | |
42 | 42 | Then I should not see "Test plugin tab" |
43 | 43 | |
44 | 44 | Scenario: an admin should be able to deactivate a plugin |
45 | 45 | Given plugin TestPlugin is enabled on environment |
46 | 46 | And I am logged in as admin |
47 | - When I go to the Control panel | |
47 | + When I go to admin_user's control panel | |
48 | 48 | Then I should see "Test plugin button" |
49 | - When I go to the profile | |
49 | + When I go to admin_user's profile | |
50 | 50 | Then I should see "Test plugin tab" |
51 | 51 | And I go to the environment control panel |
52 | 52 | And I follow "Plugins" |
53 | 53 | And I uncheck "Test plugin" |
54 | 54 | And I press "Save changes" |
55 | - When I go to the Control panel | |
55 | + When I go to admin_user's control panel | |
56 | 56 | Then I should not see "Test plugin button" |
57 | - When I go to the profile | |
57 | + When I go to admin_user's profile | |
58 | 58 | Then I should not see "Test plugin tab" | ... | ... |