Commit 8cd81d05df38f29c77d065737a0307d004707485
1 parent
47d97221
Exists in
staging
and in
42 other branches
[postgres-tests] Fixing last_admin feature test
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
app/views/profile_members/_members_list.rhtml
features/last_administrator_leaving.feature
... | ... | @@ -17,7 +17,7 @@ Feature: remove administrator role |
17 | 17 | Scenario: the last administrator removes his administrator role and must choose the new administrator |
18 | 18 | Given "Maria Souza" is a member of "Nice people" |
19 | 19 | And I am on Nice people's members management |
20 | - And I follow "Edit" | |
20 | + And I follow "Edit" within "tr[title='Joao Silva']" | |
21 | 21 | And I uncheck "Profile Administrator" |
22 | 22 | When I press "Save changes" |
23 | 23 | Then I should see "Since you are the last administrator, you must choose" | ... | ... |