Commit ae02e837a901560c46bb0719d40164a74a336391
1 parent
b0509621
Exists in
master
and in
28 other branches
Fixing tests that depended on old layout
Showing
2 changed files
with
10 additions
and
5 deletions
Show diff stats
features/create_community.feature
... | ... | @@ -54,7 +54,8 @@ Feature: create community |
54 | 54 | And I choose "Approve" |
55 | 55 | When I press "Ok!" |
56 | 56 | Then I should not see "admin_user wants to create community Community for approval" |
57 | - When I follow "My groups" | |
57 | + When I follow "Control panel" | |
58 | + And I follow "Manage my groups" | |
58 | 59 | Then I should see "Community for approval" |
59 | 60 | |
60 | 61 | Scenario: environment admin rejects new community task |
... | ... | @@ -67,7 +68,8 @@ Feature: create community |
67 | 68 | And I choose "Reject" |
68 | 69 | When I press "Ok!" |
69 | 70 | Then I should not see "admin_user wants to create community Community for approval" |
70 | - When I follow "My groups" | |
71 | + When I follow "Control panel" | |
72 | + And I follow "Manage my groups" | |
71 | 73 | Then I should not see "Community for approval" |
72 | 74 | |
73 | 75 | Scenario: new community is listed after approval |
... | ... | @@ -75,7 +77,8 @@ Feature: create community |
75 | 77 | And feature "admin_must_approve_new_communities" is enabled on environment |
76 | 78 | When I create community "Community for approval" |
77 | 79 | And I approve community "Community for approval" |
78 | - When I follow "My groups" | |
80 | + When I follow "Control panel" | |
81 | + And I follow "Manage my groups" | |
79 | 82 | Then I should see "Community for approval" |
80 | 83 | |
81 | 84 | Scenario: new community is not listed after rejection |
... | ... | @@ -83,7 +86,8 @@ Feature: create community |
83 | 86 | And feature "admin_must_approve_new_communities" is enabled on environment |
84 | 87 | When I create community "Community for approval" |
85 | 88 | And I reject community "Community for approval" |
86 | - When I follow "My groups" | |
89 | + When I follow "Control panel" | |
90 | + And I follow "Manage my groups" | |
87 | 91 | Then I should not see "Community for approval" |
88 | 92 | |
89 | 93 | Scenario: environment admin accepts new community task but identifier was already taken | ... | ... |
features/step_definitions/create_community_steps.rb